Skip to content

Instantly share code, notes, and snippets.

View AkdM's full-sized avatar
👋

Anthony Da Mota AkdM

👋
View GitHub Profile
@AkdM
AkdM / Key Binding - User.json
Created May 30, 2013 08:28
My (old) Sublime Text Configuration
[
{ "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 / CSSFrameworks.md
Last active August 9, 2018 21:12
CSS frameworks.md
@AkdM
AkdM / myfile.html
Last active July 21, 2020 13:30
Dynamically populate dropdowns with JSON and jQuery
<label>Country:</label>
<select id="country" name="country">
<option value="000">-Select Country-</option>
</select>
<br />
<label>State:</label>
<select id="state" name="state">
<option value="000">-Select State-</option>
@AkdM
AkdM / Text-Write-Animation.markdown
Last active January 4, 2016 21:18
A Pen by AkdM.
@AkdM
AkdM / BackgroundColors.txt
Last active August 29, 2015 14:03
Beautiful background colors
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

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 / gist:49ae1d4115246a057526
Created October 24, 2014 14:09
Convert annotation to YAML for Symfony 2
php app/console doctrine:mapping:convert --namespace="MySuper\DuperBundle\Entity\MyEntity" yaml src/MySuper/DuperBundle/Resources/config/doctrine
That command will convert the annotation file into yaml format into src/MySuper/DuperBundle/Resources/config/doctrine as MySuper.DuperBundle.Entity.MyEntity.orm.yml
@AkdM
AkdM / keybase.md
Last active May 4, 2016 14:03
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 / gulpfile.js
Last active November 16, 2020 17:47
Gulp 4 - gulp.watch fix (done callback)
// This tricks prevents the reload-only-once 'new' feature
// of Gulp 4, when using gulp.watch
'use strict';
var gulp = require('gulp'),
sass = require('gulp-sass'),
electron = require('electron-connect').server.create();
// You should also add a 'clean' task to clean the dist folder