A paragraph to introduce the project, describing it in a few short sentences to grab people's attention and let them know if it will be useful for them.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local inspect ={ | |
_VERSION = 'inspect.lua 3.1.0', | |
_URL = 'http://github.com/kikito/inspect.lua', | |
_DESCRIPTION = 'human-readable representations of tables', | |
_LICENSE = [[ | |
MIT LICENSE | |
Copyright (c) 2013 Enrique García Cota | |
Permission is hereby granted, free of charge, to any person obtaining a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
callback({ | |
"id": "00000000-0000-0000-0000-000000000001", | |
"name": "Scrum with team", | |
"description": "", | |
"date_started": "2017-04-10T00:00:00Z", | |
"date_due": "2017-04-11T00:00:00Z", | |
"assignee": [ | |
], | |
"responsible_user": "00000000-0000-0000-0000-000000000000", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- FUNEMPLOYED | |
xml=[[<C><P /><Z><S><S L="800" X="400" H="50" Y="380" T="6" P="0,0,0.3,0.2,0,0,0,0" /><S L="500" H="44" X="400" Y="338" T="12" P="0,0,0.3,0.2,0,0,0,0" /><S P="0,0,0.3,0.2,0,0,0,0" L="500" X="400" Y="150" T="12" H="250" /></S><D /><O /></Z></C>]] | |
hand=5 | |
cardsPerRound=3 | |
cards={ | |
jobs={ | |
unused={ | |
"Pirate", |
Regex to format and validate for atelier801.com usernames (including games by Atelier 801), with the following rules:
- Must be between 3 and 20 characters
- May only contain alphanumeric characters and underscores
- First character must be alphabetical or a plus +
^[a-zA-Z+]{1}[a-zA-Z0-9_]{2,20}$
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
|-------------------------------------------------------------------------- | |
| Switch Column Values | |
|-------------------------------------------------------------------------- | |
| | |
| Switch the values between two columns of the same row using a variable. | |
| | |
| Assigns a temporary variable "@tmp" to store "columnA", then replaces | |
| the columnA with columnB, then columnB with "@tmp". | |
| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Misc. Commands ## | |
alias h='cd ~' | |
alias c='clear' | |
alias ls='ls -alh' | |
alias pubkey="/bin/cat ~/.ssh/id_rsa.pub | pbcopy" | |
## A quick way to get out of the current directory ## | |
alias ..='cd ../' | |
alias ...='cd ../../' | |
alias ....='cd ../../../' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Create an English sentence string from an array of items. | |
* | |
* @param {array} array [description] | |
* @param {string} separator Separator for list items. Defaults to "," | |
* @param {string} finalSeparator Separator for last item. Defaults to "and" | |
* @return {string} List as an English sentence. | |
*/ | |
function listAsSentence(array, separator, finalSeparator) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* MySQL Replace Text | |
* | |
* Replace a certain bit of text inside a MySQL entry. For example, replacing | |
* every instance of one word with another. | |
*/ | |
UPDATE table_name | |
SET column_name = REPLACE(column_name, 'good', 'amazing') | |
WHERE column_name LIKE 'Jannet%' |