I hereby claim:
- I am lil5 on github.
- I am lilast (https://keybase.io/lilast) on keybase.
- I have a public key ASB6N8iynthzZiEE7jnFZba19VBFzPdLC3lvKlBiqxQKMQo
To claim this, I am signing this object:
| # defaults | |
| exclude = '.rsync-filter' | |
| flags = "au" | |
| delete = true | |
| # Backups in list under chinese numbers | |
| # yi.1 first backup without films | |
| # yi.4 first backup of films | |
| # er.2 second backup without films | |
| # san third backup without films in external drive |
| version: '3' | |
| services: | |
| db: | |
| image: mariadb | |
| restart: unless-stopped | |
| volumes: | |
| - /mnt/data/mysql:/var/lib/mysql | |
| env_file: | |
| - db.env |
| [AppID 72850, ActionID 2] : LaunchApp changed task to ProcessingInstallScript with "" | |
| wine: /mnt/icedragon/Games/SteamLibrary/steamapps/compatdata/72850/pfx is not owned by you | |
| wine: /mnt/icedragon/Games/SteamLibrary/steamapps/compatdata/72850/pfx is not owned by you | |
| GameAction [AppID 72850, ActionID 2] : LaunchApp changed task to SynchronizingCloud with "" | |
| GameAction [AppID 72850, ActionID 2] : LaunchApp changed task to ProcessingShaderCache with "" | |
| GameAction [AppID 72850, ActionID 2] : LaunchApp changed task to SiteLicenseSeatCheckout with "" | |
| GameAction [AppID 72850, ActionID 2] : LaunchApp changed task to CreatingProcess with "" | |
| GameAction [AppID 72850, ActionID 2] : LaunchApp waiting for user response to CreatingProcess "" | |
| GameAction [AppID 72850, ActionID 2] : LaunchApp continues with user response "CreatingProcess" | |
| Opted-in Controller Mask: 70 |
| #!/bin/bash | |
| read -s PASS | |
| if [[ -z $PASS ]]; then | |
| echo 'blank password' | |
| exit 1 | |
| fi | |
| USER='user' |
| SELECT department.dept_id AS dept_id, COUNT(employee.dept_id) AS count, SUM(employee.salary) AS sum_of_salary | |
| FROM department | |
| INNER JOIN employee ON department.dept_id = employee.dept_id | |
| GROUP BY department.dept_id | |
| ORDER BY department.dept_id ASC |
I hereby claim:
To claim this, I am signing this object:
| const copyToClipboard = str => { | |
| const el = document.createElement('textarea'); | |
| el.value = str; | |
| el.setAttribute('readonly', ''); | |
| el.style.position = 'absolute'; | |
| el.style.left = '-9999px'; | |
| document.body.appendChild(el); | |
| el.select(); | |
| document.execCommand('copy'); | |
| document.body.removeChild(el); |
| #!/bin/bash | |
| for file in $(find . -path ./node_modules -prune -false -o -name "*.scss") | |
| do npx sass ${file}:${file%.scss}.css; | |
| echo $file | |
| done |
| export function getObj<V>(getObj: () => V): V | undefined { | |
| let value: undefined | V; | |
| let shouldReturnUndefined: boolean = false; | |
| try { | |
| value = getObj(); | |
| } catch (e) { | |
| if (e instanceof TypeError) { | |
| shouldReturnUndefined = true; | |
| } | |
| } |
| /** | |
| * https://dirask.com/posts/TypeScript-convert-enum-to-array-ZDN4nj | |
| */ | |
| class EnumReflection { | |
| private static REGEXP : RegExp = /^[0-9]+$/g; | |
| private static isString<T>(name : string) : boolean { | |
| if(name.match(this.REGEXP)) | |
| return false; |