This file contains hidden or 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
using System; | |
using System.Runtime.InteropServices; | |
using System.Text; | |
namespace GoSharedDLL | |
{ | |
class Program | |
{ | |
[DllImport("shared.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)] | |
private static extern IntPtr ReturnReversedString(byte[] input); |
This file contains hidden or 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
* text=auto | |
# Unity files | |
*.meta -text merge=unityyamlmerge diff | |
*.unity -text merge=unityyamlmerge diff | |
*.asset -text merge=unityyamlmerge diff | |
*.prefab -text merge=unityyamlmerge diff | |
*.mat -text merge=unityyamlmerge diff | |
*.anim -text merge=unityyamlmerge diff | |
*.controller -text merge=unityyamlmerge diff |
This file contains hidden or 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
package main | |
import ( | |
"bytes" | |
"compress/zlib" | |
"fmt" | |
"time" | |
"github.com/vmihailenco/msgpack" | |
redis "gopkg.in/redis.v5" |
This file contains hidden or 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
package filter | |
import ( | |
"fmt" | |
"testing" | |
"time" | |
"github.com/nats-io/nuid" | |
) |
This file contains hidden or 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
#!/bin/bash | |
# Delete all containers | |
docker rm $(docker ps -a -q) | |
# Delete all images | |
docker rmi $(docker images -q) |
This file contains hidden or 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
Verifying that +nassor is my blockchain ID. https://onename.com/nassor |
This file contains hidden or 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
/* | |
gulpfile.js | |
Directory structure | |
./dist [webapp compiled] | |
./src/ [webapp code] | |
./src/app [react code] | |
./src/assets [css and js files] | |
*/ | |
var argv = require('yargs').argv; |
This file contains hidden or 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
mongoexport -d <db_name> -c <coll_name> -f <fields_name> -q "<json_query>" --csv --out out_file.csv |
This file contains hidden or 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
#!/bin/bash | |
cd /data/backups/ | |
mongodump -d <dbname> | |
today=$(date +"%Y%m%d") && tar cvzf "<dbname>-$today.tar.gz" dump/ |
This file contains hidden or 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
"abaixo", "aca", "acaso", | |
"acerca", "acima", "acola", "acula", "ademais", "adentro", | |
"adiante", "afinal", "afora", "agora", "agorinha", "ah", "ainda", | |
"alem", "algo", "alguem", "algum", "alguma", "algumas", "alguns", | |
"ali", "alias", "alo", "ambos", "amiude", "ante", "antes", "ao", | |
"aonde", "aos", "apenas", "apesar", "apos", "apud", "aquela", | |
"aquelas", "aquele", "aqueles", "aqui", "aquilo", "as", "assim", | |
"ate", "atras", "atraves", "basicamente", "bastante", "bastantes", | |
"bem", "bis", "bom", "ca", "cada", "cade", "caso", "certa", | |
"certamente", "certas", "certeiramente", "certo", "certos", "chez", |
NewerOlder