Skip to content

Instantly share code, notes, and snippets.

View artisin's full-sized avatar

te artisin

View GitHub Profile
@artisin
artisin / unrarall
Created January 7, 2023 07:42
unrarall
#!/usr/bin/env bash
#unrarall
# Copyright (C) 2011, 2012, 2013 Brendan Le Foll <brendan@fridu.net>
# Copyright (C) 2011, 2012, 2013 Dan Liew <dan@su-root.co.uk>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
@artisin
artisin / google-fu.md
Last active January 10, 2024 00:53
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”
@artisin
artisin / 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
@artisin
artisin / repository-released.json
Created March 8, 2022 22:07
repository-released.json
{
"schema_version": "3.0.0",
"dependencies": [],
"packages": [
{
"name": "AceJump-Chinese",
"description": "Jump between characters in Sublime Text without using a mouse at ease.",
"homepage": "https://github.com/jfcherng-sublime/ST-AceJump-Chinese",
"author": "jfcherng",
"donate": "https://paypal.me/jfcherng/5usd",
@artisin
artisin / cloudSettings
Last active January 27, 2020 18:15
vscode
{"lastUpload":"2020-01-27T18:14:18.713Z","extensionVersion":"v3.4.3"}
@artisin
artisin / 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 {

Ramda Examples

Ramda Sometime Known As
all every
always const, constant
any some
head first, car
reduce foldl
reduceRight foldr
@artisin
artisin / lost.styl
Created June 21, 2016 18:12
Lost-Stylus-Mod
// Lost Grid v5.1.6 - https://github.com/corysimmons/lost
$gutter = 30px
$rtl = false
$flexbox = true
/**
* Sets a translucent background color to all elements it affects. Helpful while setting up, or debugging, the structure of your site to make sure all items are cleared correctly.
*
@artisin
artisin / 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
)
@artisin
artisin / 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)