Skip to content

Instantly share code, notes, and snippets.

Avatar
👋

Anthony Da Mota AkdM

👋
View GitHub Profile
@AkdM
AkdM / BackgroundColors.txt
Last active August 29, 2015 14:03
Beautiful background colors
View BackgroundColors.txt
All with #FFFFFF font color.
Red : #F1443E
Darker red : #C52727
Blue : #40699E
Sky blue : #45B6DA
Green : #47D585
Gold : #E08A1B
Purple : #8D34C9
Dark blue (black) : #20232C
@AkdM
AkdM / entretien.md
Last active August 29, 2015 14:05 — forked from Neamar/entretien.md
View entretien.md

Questions

Ces questions permettent de vous situer vis à vis de la programmation et de l'informatique en général. Il est normal de ne pas tout connaître ;)

Comment s'appelle le système de base de données que l'on utilise avec PHP ?

Réponse :

Que fait la requête SQL suivante :

SELECT Marque, AVG(Prix)
@AkdM
AkdM / Key Binding - User.json
Created May 30, 2013 08:28
My (old) Sublime Text Configuration
View Key Binding - User.json
[
{ "keys": ["super+alt+7"], "command": "encode_html_entities" },
{ "keys": ["shift+ctrl+u"], "command": "title_case" },
{ "keys": ["super+enter"], "command": "insert", "args": {"characters": "<br>\n"} },
{ "keys": ["super+alt+l"], "command": "insert_snippet", "args": {"contents": "<li>${0:$SELECTION}</li>" } },
{ "keys": ["super+alt+b"], "command": "insert_snippet", "args": {"contents": "<b>${0:$SELECTION}</b>" } },
{ "keys": ["super+alt+i"], "command": "insert_snippet", "args": {"contents": "<i>${0:$SELECTION}</i>" } },
{ "keys": ["super+alt+n"], "command": "insert_snippet", "args": {"contents": "<span>${0:$SELECTION}</span>" } },
{ "keys": ["super+alt+down"], "command": "insert_snippet", "args": {"contents": "<sub>${0:$SELECTION}</sub>" } },
@AkdM
AkdM / Text-Write-Animation.markdown
Last active January 4, 2016 21:18
A Pen by AkdM.
View Text-Write-Animation.markdown
@AkdM
AkdM / keybase.md
Last active May 4, 2016 14:03
keybase.md
View keybase.md

Keybase proof

I hereby claim:

  • I am AkdM on github.
  • I am akdm (https://keybase.io/akdm) on keybase.
  • I have a public key whose fingerprint is 4DCD 4595 41F1 6357 92BF A44B 0F68 E6CA F810 857D

To claim this, I am signing this object:

@AkdM
AkdM / Use config only.md
Created September 21, 2016 11:31
Don't guess my identity! - git
View Use config only.md

Now you can tell Git not to guess committer identity, but rather to insist that you set user.name and user.email explicitly before it will let you commit:

git config --global user.useconfigonly true

@AkdM
AkdM / hive.sql
Last active October 20, 2016 17:33
Hive
View hive.sql
-- Create names table
CREATE TABLE names(
name STRING,
gender Array<String>,
origin Array<String>,
version DOUBLE
)
ROW FORMAT DELIMITED
FIELDS TERMINATED BY '\073'
COLLECTION ITEMS TERMINATED BY ',';
@AkdM
AkdM / cloudflare_check.sh
Created February 25, 2017 21:35
Not-perfect-at-all bash script to check if websites use Cloudflare (Cloudbleed) by providing a list
View cloudflare_check.sh
#!/bin/bash
#
# To use:
# ./cloudflare_check.sh list.csv
# ./cloudflare_check.sh urls.txt
#
# I made this to check my 1Password logins.
# You can export all of your logins by going into
# File > Export > All Items
# http://i.imgur.com/orMuAob.jpg
@AkdM
AkdM / description.md
Last active March 17, 2017 14:22
JSONView Theme
View description.md

#JSONView Theme

Preview

JSONView Theme preview