For generic skin emulator with default apis (without google apis):
-
List All System Images Available for Download:
sdkmanager --list | grep system-images
-
Download Image:
sdkmanager --install "system-images;android-29;default;x86"
cmake_minimum_required(VERSION 3.10) | |
project (roguelike-firststab) | |
set(SDL2_DIR "C:/msys64/mingw64/bin/vcpkg/installed/x64-mingw-static/share/sdl2") | |
set(glad_DIR "C:/msys64/mingw64/bin/vcpkg/installed/x64-mingw-static/share/glad") | |
set(lodepng-c_DIR "C:/msys64/mingw64/bin/vcpkg/installed/x64-mingw-static/share/lodepng-c") | |
set(libtcod_DIR "C:/msys64/mingw64/bin/vcpkg/installed/x64-mingw-static/share/libtcod") | |
find_package(libtcod CONFIG REQUIRED) | |
add_executable(roguelike-firststab main.cpp) | |
target_link_libraries(roguelike-firststab PRIVATE libtcod::libtcod) | |
add_definitions(-DSDL_MAIN_HANDLED) |
# | |
# conditionalformatting.py | |
# Create two tables and apply Conditional Formatting | |
# | |
import win32com.client as win32 | |
excel = win32.gencache.EnsureDispatch('Excel.Application') | |
#excel.Visible = True | |
wb = excel.Workbooks.Add() | |
ws = wb.Worksheets('Sheet1') | |
ws.Range("B2:K2").Value = [i for i in range(1,11)] |
HOSTNAME=`hostname` ssh-keygen -t rsa -C "$HOSTNAME" -f "$HOME/.ssh/id_rsa" -P "" && cat ~/.ssh/id_rsa.pub |
#! /usr/bin/python3 | |
import os | |
import sys | |
import dateutil.parser | |
import xml.etree.ElementTree | |
nss = {'gnc': 'http://www.gnucash.org/XML/gnc', | |
'act': 'http://www.gnucash.org/XML/act', | |
'book': 'http://www.gnucash.org/XML/book', |
; Recommended for performance and compatibility with future AutoHotkey releases. | |
#NoEnv | |
; Recommended for catching common errors. | |
#Warn | |
; There's no reason to run this script more than once | |
#SingleInstance force | |
;; memo hotkey shortcuts |
git fetch upstream | |
git reset --hard upstream/master |
#!/usr/bin/perl | |
# This is a script to change KyTea's POS tags in Japanese to English | |
# abbreviations | |
use strict; | |
use utf8; | |
use Getopt::Long; | |
use List::Util qw(sum min max shuffle); | |
binmode STDIN, ":utf8"; | |
binmode STDOUT, ":utf8"; |
In this article, I will share some of my experience on installing NVIDIA driver and CUDA on Linux OS. Here I mainly use Ubuntu as example. Comments for CentOS/Fedora are also provided as much as I can.
"""A simple implementation of a greedy transition-based parser. Released under BSD license.""" | |
from os import path | |
import os | |
import sys | |
from collections import defaultdict | |
import random | |
import time | |
import pickle | |
SHIFT = 0; RIGHT = 1; LEFT = 2; |