Skip to content

Instantly share code, notes, and snippets.

View anghene's full-sized avatar
🎯
Focusing

AVA anghene

🎯
Focusing
View GitHub Profile
@anghene
anghene / cloudSettings
Created January 8, 2020 10:32
Visual Studio Code Settings Sync Gist
// Empty

Old Game INTROS ...


Or sometimes sounds or music.

  • 001 Fifa 99 Playstation ... oh those early mornings waiting for the game cafe to open .... I used to hang out there a lot and watch twitch IRL :)) https://youtube.com/watch?v=vn_CSRBeaEU #gameintro #introlist #001 #throwback #oldiesbutgoldies
  • 002 Oh boy oh boy ! Absolutely mad about this music... https://youtube.com/watch?v=l93gHMsPgC0 #gameintro #introlist #002 #throwback #oldiesbutgoldies

What they use to update a custom field's value internally - instead of passing on text value, they pass on the value value:

{
    // CustomFieldId: 5593ba71-f212-457a-b5dd-b75e52c07782
  "options": [
    { "text": "man", "value": "cfaf83f0-52d2-49fb-84ad-4a9af72d9ad5" },
    { "text": "woman", "value": "cae4a570-ea13-45e0-9b1b-daf5a0082a8c" },
    { "text": "child", "value": "579ff2ec-67c1-4f3f-99cd-d299fd5bcb5e" }
  ],
}
https://archive.org/details/1987-07-computegazette
@anghene
anghene / useful docker mysql.md
Last active January 28, 2019 12:34
useful docker cmds

Setup a local mysql db

Get a mariaDB container in docker

docker run --name db -e MYSQL_ROOT_PASSWORD=[your password here] -p 3306:3306 --restart=always -d mariadb:latest

Get mysql cli for terminal###

sudo dnf install mysql-community
mysql -host=172.17.0.1 -uroot -p
@anghene
anghene / vimdiff.md
Last active January 30, 2018 13:05 — forked from mattratleph/vimdiff.md
vimdiff cheat sheet

vimdiff cheat sheet

##git mergetool

In the middle file (future merged file), you can navigate between conflicts with ]c and [c.

Choose which version you want to keep with :diffget //2 or :diffget //3 (the //2 and //3 are unique identifiers for the target/master copy and the merge/branch copy file names).

:diffupdate (to remove leftover spacing issues)

:only (once you’re done reviewing all conflicts, this shows only the middle/merged file)

@anghene
anghene / destructuring.md
Created January 19, 2018 11:00 — forked from yang-wei/destructuring.md
Elm Destructuring (or Pattern Matching) cheatsheet

Should be work with 0.18

Destructuring(or pattern matching) is a way used to extract data from a data structure(tuple, list, record) that mirros the construction. Compare to other languages, Elm support much less destructuring but let's see what it got !

Tuple

myTuple = ("A", "B", "C")
myNestedTuple = ("A", "B", "C", ("X", "Y", "Z"))
#!/usr/bin/env bash
curl https://s3.amazonaws.com/heroku-jvm-buildpack-vi/vim-7.3.tar.gz --output vim.tar.gz
mkdir vim && tar xzvf vim.tar.gz -C vim
export PATH=$PATH:/app/vim/bin
#include <cstdlib.h>
#include <iostream.h>
#include <malloc.h>
using namespace std;
typedef struct nod{
int cheie;
int valoare;
struct nod*st;