Skip to content

Instantly share code, notes, and snippets.

View fetchTe's full-sized avatar

te fetchTe

View GitHub Profile

Keybase proof

I hereby claim:

  • I am artisin on github.
  • I am artisin (https://keybase.io/artisin) on keybase.
  • I have a public key whose fingerprint is F120 4AB0 1E07 4C0B 470C 631B 84EC DBCA 1509 0620

To claim this, I am signing this object:

@fetchTe
fetchTe / package.json
Created September 26, 2016 03:28
Example / template for package.json
{
"name": "module-name",
"version": "0.0.1",
"description": "An example module to illustrate the usage of a package.json",
"author": "Your Name <[email protected]>",
"license": "MIT",
"contributors": [{
"name": "Foo Bar",
"email": "[email protected]"
}],
@fetchTe
fetchTe / gfonts.php
Created October 19, 2016 03:18 — forked from nikoskip/gfonts.php
Demo: http://nikoskip.me/gfonts.php | You only have to use the CSS import URL that Google gives you, for instance: http://fonts.googleapis.com/css?family=Cabin:500,700,500italic,700italic
<?php
$fontTypes = array('woff2', 'woff', 'ttf', 'svg', 'eot');
$gFontURL = 'http://fonts.googleapis.com/css?family=';
$uaFonts = array(
'woff2' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36',
'woff' => 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0; Trident/4.0; GTB7.4; InfoPath.3; SV1; .NET CLR 3.1.76908; WOW64; en-US)',
'ttf' => 'Mozilla/5.0 (Linux; U; Android 2.2.1; en-ca; LG-P505R Build/FRG83) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1',
'svg' => 'Mozilla/5.0(iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314 Safari/531.21.10',
@fetchTe
fetchTe / google-fu.md
Last active September 25, 2024 11:11
Google Fu

Google Fu

  • “Search Term”

    • This operator searches for the exact phrase within speech marks only. This is ideal when the phrase you are using to search is ambiguous and could be easily confused with something else, or when you’re not quite getting relevant enough results back.
    • ex: “Tinned Sandwiches”
      • This will search for only the finer tinned variety of the bread based snack, at the exclusion of all others.
  • OR

    • This self explanatory operator searches for a given search term OR an equivalent term. For instance, if you have an unhealthy fascination with the famous ‘Sheens’ you could search for:
  • ex: “Martin Sheen” OR “Charlie Sheen”
@fetchTe
fetchTe / ctr-cla.md
Last active May 30, 2017 03:38
ctr - Contributor License Agreement

Contributor License Agreement

The following terms are used throughout this agreement:

  • You - the person or legal entity including its affiliates asked to accept this agreement. An affiliate is any entity that controls or is controlled by the legal entity, or is under common control with it.
  • Project - is an umbrella term that refers to any and all CTR, LLC. open source projects.
  • Contribution - any type of work that is submitted to a Project, including any modifications or additions to existing work.
  • Submitted - conveyed to a Project via a pull request, commit, issue, or any form of electronic, written, or verbal communication with CTR, LLC., contributors or maintainers.

1. Grant of Copyright License.

@fetchTe
fetchTe / sublime_shortcut_keys.md
Created October 28, 2017 20:50
sublime_shortcut_keys.md

Sublime Shortcut Keys

Editing

Shortcut Description
ctrl+] Indent right
ctrl+[ Indent left
ctrl+shift+g Create html wrap div, h1, etc
Ctrl+L select line (repeat select next lines)
@fetchTe
fetchTe / flowide-highlighting.md
Created October 29, 2017 20:55
flowide-highlighting.md

Change highlighting fill

flowide/listeners/check.py

# change view.add_regious to this
view.add_regions(
    'flow_type_highlights',
    regions, 'string', 'dot',
    sublime.DRAW_NO_FILL
)
@fetchTe
fetchTe / react-redux-firebase-issues-230.js
Created April 10, 2018 00:12
react-redux-firebase issues #230
/**
* So here's the redux wrapper I used to solve the problem, or at least, that is
* what I think. I'm, not all to sure but maybe this will give you some insight.
*/
import React, { Component } from 'react';
import thunkMiddleware from 'redux-thunk';
import { Provider } from 'react-redux';
import { createLogger } from 'redux-logger';
import firebase from 'firebase';
import {
@fetchTe
fetchTe / cloudSettings
Last active January 27, 2020 18:15
vscode
{"lastUpload":"2020-01-27T18:14:18.713Z","extensionVersion":"v3.4.3"}
@fetchTe
fetchTe / install-xrdp-openbox.sh
Last active September 18, 2023 13:22
install-xrdp-openbox.sh
###############################################################################
# Update our machine to the latest code if we need to.
HWE="-hwe-20.04"
# HWE="-hwe-18.04"
###############################################################################
# !!!IMPORTANT!!!!
# If you don't want to use openbox you need change this per distro
# ex: echo "xfce4-session" > ~/.xsession