- Jail.local
- Nextcloud filter
- Jellyfin filter
pacstrap /mnt base base-devel | |
pacman -S | |
openssh | |
grub | |
os-prober | |
linux-headers | |
linux-lts | |
linux-lts-headers | |
wpa_supplicant | |
wireless_tools |
/* | |
* clang -static -O2 get_shell.c get_shell | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <pwd.h> | |
int main(int argc, char *argv[]) { |
If you have an IAM user that you set up using the IAM interface, you need to do the following two steps to enable the user to send email using the Amazon SES SMTP interface:
-
Derive the user's SMTP credentials from their AWS credentials using the algorithm provided in this section. A user's SMTP username is the same as their AWS Access Key ID, so you just need to generate the SMTP password.
-
Apply the following policy to the IAM user:
{
"Version": "2012-10-17",
"Statement": [
// ==UserScript== | |
// @name View Image | |
// @namespace https://github.com/bijij/ViewImage | |
// @version 4.1.1 | |
// @description This userscript re-implements the "View Image" and "Search by image" buttons into google images. | |
// @author Joshua B | |
// @run-at document-end | |
// @include http*://*.google.tld/search*tbm=isch* | |
// @include http*://*.google.tld/imgres* | |
// @updateURL https://gist.githubusercontent.com/bijij/58cc8cfc859331e4cf80210528a7b255/raw/viewimage.user.js |
{ | |
"magic":"nassh-prefs", | |
"version":1, | |
"nassh":{ | |
"profile-ids":[ | |
{ | |
"id":"9f63", | |
"json":{ | |
"description":"freenas", | |
"username":"Vadim", |
{ | |
"application": { | |
"name": "Firefox", | |
"osVersion": "Linux 4.14.15-1-ARCH", | |
"version": "59.0b6", | |
"buildID": "20180201171410", | |
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0", | |
"safeMode": false, | |
"updateChannel": "beta", | |
"supportURL": "https://support.mozilla.org/1/firefox/59.0/Linux/en-US/", |
The latest version of macOS 10.13.3 has Python 2.7.10 installed by default, yet Python has been available on macOS and previously OS X for quite a while now.
Consult the Apple's Open Source Reference Library, and browse through the various releases of the OS to find out which Python version was included). But what if you have a project which requires Python 3 ?
The following instructions will guide you through the process of:
- installing Python 3 using Homebrew
- running multiple Python verions as sandboxed environments
- Class names are
CamelCase
. - Methods and variables are
snake_case
. - Methods with a
?
suffix will return a boolean, and are calledpredicates
. - Methods with a
!
suffix mean one of two things: either the method changes the state of the object instance in some fashion, or it will raise and exception instead of failing (such as Rails models'#save!
vs.#save
). - In documentation,
::method_name
denotes a class method, while#method_name
denotes a instance method.
// Paste this whole file into your Chrome Secure Shell window's inspect console, and run it! | |
term_.prefs_.set('enable-bold', false) | |
term_.prefs_.set('background-color', "#282a36"); | |
term_.prefs_.set('foreground-color', "#f8f8f2"); | |
term_.prefs_.set('color-palette-overrides', [ | |
"#000000", | |
"#ff5555", | |
"#50fa7b", |