- create database
- create table
- alter table
- drop table
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
'use strict'; | |
const fs = require('fs'); | |
function readDir(path) { | |
return new Promise( (resolve, reject) => { | |
fs.readdir(path, (err, data) => err ? reject(err) : resolve(data)); | |
}); | |
}; |
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
(function($, window, undefined) { | |
'use strict'; | |
var App = { | |
init: function() { | |
console.log('Started!'); | |
} | |
}; | |
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
<?php | |
class Database { | |
private $pdo; | |
private $rowsNumber; | |
private $result; | |
public function __construct($host, $dbname, $user, $password) { |
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
'use strict' | |
const fs = require('fs') | |
let c = 0 | |
// Folder to inspect | |
// ================= | |
const PATH = 'artes' |
-
ssh-keygen -t rsa -b 4096 -C "[email protected]"
-
Enter for all the questions
-
eval "$(ssh-agent -s)"
-
ssh-add ~/.ssh/id_rsa
gsettings set org.gnome.desktop.wm.preferences button-layout 'close,minimize,maximize:'
- GTK+: Xenlism Minimalism
- Icons: Elementary
- Cursor: DMz
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
{ | |
"users": [ | |
{ | |
"id": 0, | |
"permission": "admin", | |
"email": "[email protected]", | |
"password": "123" | |
}, | |
{ | |
"id": 0, |
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
# Example shown on this video | |
# https://www.youtube.com/watch?v=GPz49npOKzQ | |
# that I re-written in python | |
# | |
# Python 3 is required | |
import threading | |
import time |
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
http://idea.imsxm.com/ |
OlderNewer