A Pen by Lisa Catalano on CodePen.
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" | |
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css"> | |
</head> |
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 | |
// REF: https://swiftmailer.symfony.com/docs/introduction.html | |
// composer require "swiftmailer/swiftmailer:^6.0" | |
require_once './vendor/autoload.php'; | |
$MAIL_HOST = 'smtp.gmail.com'; | |
$MAIL_PORT = '465'; | |
$MAIL_USERNAME = '[email protected]'; | |
$MAIL_PASSWORD = 'mypwd'; |
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
# https://github.com/bhilburn/powerlevel9k/wiki/Show-Off-Your-Config#kayants-configuration | |
# https://github.com/bhilburn/powerlevel9k/wiki/Show-Off-Your-Config#tunnckocore-configuration | |
POWERLEVEL9K_MODE='awesome-patched' | |
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( | |
os_icon root_indicator context dir vcs | |
) | |
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status time background_jobs ram) | |
POWERLEVEL9K_PROMPT_ON_NEWLINE=true | |
POWERLEVEL9K_STATUS_VERBOSE=false |
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
ZSH_THEME="powerlevel9k/powerlevel9k" | |
# powerlevel9k | |
POWERLEVEL9K_MODE='nerdfont-complete' | |
POWERLEVEL9K_PROMPT_ON_NEWLINE=true | |
POWERLEVEL9K_TIME_FOREGROUND='red' | |
POWERLEVEL9K_DIR_HOME_BACKGROUND='123' | |
POWERLEVEL9K_DIR_HOME_SUBFOLDER_BACKGROUND='123' | |
POWERLEVEL9K_DIR_ETC_BACKGROUND='123' | |
POWERLEVEL9K_DIR_DEFAULT_BACKGROUND='123' |
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
; Block executable from internet access with Windows Firewall | |
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\exefile\shell] | |
[HKEY_CLASSES_ROOT\exefile\shell\Firewall: Add] | |
"HasLUAShield"="" | |
[HKEY_CLASSES_ROOT\exefile\shell\Firewall: Add\command] | |
@="PowerShell -windowstyle hidden -Command \"Start-Process cmd -ArgumentList '/s,/k,pushd && netsh advfirewall firewall add rule name=\\\"%1\\\" dir=out action=block program=\\\"%1\\\" & pause & exit' -Verb RunAs\"" |
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
const ref = require('ref-napi') | |
const ffi = require('ffi-napi') | |
const win = require('./win') | |
const rs = require('readline-sync') | |
win.SetDllDirectoryA('../tdlib') | |
tdlib = ffi.Library('tdjson.dll', { | |
'td_json_client_create': ['pointer', []], | |
'td_json_client_send': ['void', ['pointer', 'string']], |
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
#include <iostream> | |
using namespace std; | |
int factorialFinder(int x) { | |
if (x == 1) return 1; | |
return x * factorialFinder(x-1); | |
} | |
int main() { | |
cout << factorialFinder(5) << endl; |
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
#include <iostream> | |
#include <string> | |
using namespace std; | |
// REF: https://www.quora.com/Why-use-of-pointer-make-the-c-c++-language-less-secure-How-hackers-can-take-advantage-of-it | |
class Example | |
{ | |
private: | |
int a=10; //private variable |
To Login
ssh -i <private-key-file/pem> ec2-user@[ec2-hostname].amazonaws.com
- Install Node JS & pm2 Ref:
NewerOlder