Getting started:
Related tutorials:
- MySQL-CLI: https://www.youtube.com/playlist?list=PLfdtiltiRHWEw4-kRrh1ZZy_3OcQxTn7P
- Analyzing Business Metrics: https://www.codecademy.com/learn/sql-analyzing-business-metrics
var vrse = "schoolboy" // insert verse here | |
var res = vrse.replace(/h/gi, "H"); | |
console.log(res) |
/** | |
* Get a random floating point number between `min` and `max`. | |
* | |
* @param {number} min - min number | |
* @param {number} max - max number | |
* @return {float} a random floating point number | |
*/ | |
function getRandom(min, max) { | |
return Math.random() * (max - min) + min; | |
} |
var crypto = require("crypto") | |
function encrypt(key, data) { | |
var cipher = crypto.createCipher('aes-256-cbc', key); | |
var crypted = cipher.update(data, 'utf-8', 'hex'); | |
crypted += cipher.final('hex'); | |
return crypted; | |
} |
#!/bin/bash | |
for i in `ls -a | grep .jpg-large$ | cut -d "." -f 1`; | |
do | |
mv ${i}.jpg-large ${i}.jpg | |
done; | |
echo "Bye 😘" |
Getting started:
Related tutorials:
from PyQt5.QtWidgets import * | |
import vlc | |
class App(QMainWindow): | |
def __init__(self): | |
super().__init__() | |
self.init() | |
def init(self): |
# install php56 | |
$ brew tap homebrew/homebrew-php | |
$ brew install php56 --with-httpd | |
$ brew unlink httpd | |
# enabling sites folder | |
$ mkdir ~/Sites | |
# adding a ${USERNAME}.conf in /etc/apache2/users/ | |
$ cd /etc/apache2/users | |
$ sudo nano username.conf |
#!/bin/bash | |
for e in $(ps A | grep "Adobe" | awk '{print $1}'); | |
do | |
kill -9 $e | |
done |
User-agent: ia_archiver | |
Disallow: / |