Skip to content

Instantly share code, notes, and snippets.

View alienlebarge's full-sized avatar
💾
:wq

Cédric Aellen alienlebarge

💾
:wq
View GitHub Profile
@alienlebarge
alienlebarge / workflowy.css
Last active November 29, 2023 05:34
Custom Workflowy Style
/**
* alb's Workflowy style
* More info: https://workflowy.com/s/albs-workflowy-style/WmvlNzBwLb6IAkLc
*
* TODO: Make comments and chapters easier to read
*/
:root {
/* red */
--color-red-shade-1: hsl(8.36, 99.84%, 98.32%);
@alienlebarge
alienlebarge / dabblet.css
Created July 18, 2012 13:38
Square Pattern CSS
background: #ffffff;
background-image:
/*circle*/
radial-gradient(rgba(255, 255, 255, 1) 30%, rgba(255,255,255,0) 35%),
/*horizontal white lines*/
linear-gradient(rgba(255, 255, 255, 1) 2px, transparent 2px),
/*vertial green lines*/
linear-gradient(0, rgba(0, 100, 0, 0.3) 3px, rgba(255, 255, 255, 1) 3px),
/*left to right gradient*/
@alienlebarge
alienlebarge / EditHostsFiles.md
Last active April 17, 2023 15:46
How to Edit the Hosts File in Mac OS X with Terminal

How to Edit the Hosts File in Mac OS X with Terminal

Edit the hosts file using the nano editor in Terminal.

  • Launch Terminal , found in /Applications/Utilities/ or launched through Spotlight
  • Type the following command at the prompt: sudo nano /private/etc/hosts
  • Enter the administrator password when requested, you will not see it typed on screen as usual with the command line
  • Once the hosts file is loaded within nano, use the arrow keys to navigate to the bottom of the hosts file to make your modifications
  • When finished, hit Control+O followed by ENTER/RETURN to save changes to /private/etc/hosts, then hit Control+X to exit out of nano
  • Quit out of Terminal when finished
@alienlebarge
alienlebarge / Parse Start and Due Dates.applescript
Last active April 9, 2023 02:55
Parse start and due date for TaskPaper
property dueTag : "due"
property startTag : "start"
property repeatTag : "repeat"
property todayTag : "today"
property pastDueTag : "overdue"
property upcomingTag : "upcoming"
property doneTag : "done"
property inProgressTag : "inprogress"
property errorTag : "error"
property removeTags : {upcomingTag, todayTag, pastDueTag, inProgressTag}
@alienlebarge
alienlebarge / README.md
Last active March 20, 2023 10:16
Setting proxy with node.js

Node.js behind a proxy

Write proxy settings

$ npm config set proxy http://localhost:3128
$ npm config set https-proxy http://localhost:3128

This config is great for SquidMan app.

@alienlebarge
alienlebarge / modular.opml
Last active February 1, 2023 05:16
RSS subscriptions for modular eurorack synthesizers
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.1">
<head>
<title>modular.opml</title>
</head>
<body>
<outline text="modular / actors / social" title="modular / actors / social">
<outline text="@BoBeatsMusic" title="@BoBeatsMusic" description="" type="rss" version="RSS" htmlUrl="https://twitter.com/BoBeatsMusic" xmlUrl="https://twitter.com/BoBeatsMusic" />
@alienlebarge
alienlebarge / workflowy.css
Created November 8, 2022 06:32
Stylish custom style to override workflowy style
/**
* This style can be used in Stylish for Chrome or Cascadea for Safari
* Update it in Workflowy because Stylish do not sync
*/
:root {
--background-color: #010808;
--background-color--light: rgba(28,27,27,1);
--text-color: #b3caca;
--text-color-highlight: #f9f4e2;
@alienlebarge
alienlebarge / droid.ini
Last active November 3, 2021 11:04
16 steps sequencer for droid
# ==================================================
# 16 step sequencer
# ==================================================
# Description :
# An attempte to do a 16 steps sequencer becauaw `sequencer` has only 8
# [Master]
# Input 1 : Clock
# Input 2 : Reset
<?xml version="1.0" encoding="UTF-8"?>
<gpx creator="Garmin Connect" version="1.1"
xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/11.xsd"
xmlns:ns3="http://www.garmin.com/xmlschemas/TrackPointExtension/v1"
xmlns="http://www.topografix.com/GPX/1/1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="http://www.garmin.com/xmlschemas/GpxExtensions/v3">
<metadata>
<name>Chemin des Fontaines</name>
<link href="connect.garmin.com">
<text>Garmin Connect</text>
@alienlebarge
alienlebarge / index.html
Last active July 29, 2020 18:46
HTML5 structure for a search result page
<section>
<header>
<h2>Results for <kbd>this terms</kbd></h2>
</header>
<!-- list of results -->
<ol>
<!-- First result -->