How to filter emails from GitHub in Gmail and flag them with labels.
The labels in this document are just examples.
Filter | Label |
---|
/** | |
* example C code using libcurl and json-c | |
* to post and return a payload using | |
* http://jsonplaceholder.typicode.com | |
* | |
* License: | |
* | |
* This code is licensed under MIT license | |
* https://opensource.org/licenses/MIT | |
* |
<?php | |
// Select all tables from the database | |
$tables = DB::select("SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'"); | |
// Get array of just the table names | |
$tables = array_column($tables, 'tablename'); | |
// Loop through and drop each table | |
// The "cascade" option is important otherwise foreign keys constraints will fail |
#!/usr/bin/env bash | |
# This script is meant to build and compile every protocolbuffer for each | |
# service declared in this repository (as defined by sub-directories). | |
# It compiles using docker containers based on Namely's protoc image | |
# seen here: https://github.com/namely/docker-protoc | |
set -e | |
REPOPATH=${REPOPATH-/opt/protolangs} | |
CURRENT_BRANCH=${CIRCLE_BRANCH-"branch-not-available"} |
After a weekend of research, stress and pain I finally figure out how to install manjaro 17 and configure the nvidia/bumblebee drivers on my avell laptop
Here's my notebook specs:
$ inxi -MGCNA
Machine: Device: laptop System: Avell High Performance product: 1513
Mobo: N/A model: N/A v: 0.1 UEFI: American Megatrends v: N.1.02 date: 09/28/2016
Battery BAT0: charge: 44.0 Wh 100.0% condition: 44.0/44.0 Wh (100%)
Hi,
this gist summarizes how to share UNIX files/folders with a Plan9 instance using u9fs.
First of all, grab the latest u9fs release from source or install it with the package manager of your preference, then build and install.
Please be sure to find the correct path to your u9fs binary because it may differ based on the installation, normally it is
/usr/local/bin/u9fs
or/usr/bin/u9fs
.
On older unix/linux systems you may use inetd, which is already covered by the u9fs man page.