Skip to content

Instantly share code, notes, and snippets.

View BafS's full-sized avatar

Fabien Salathe BafS

View GitHub Profile
@BafS
BafS / package.json
Created August 15, 2014 17:28
Yo cmd
{
"name": "yocmd",
"version": "0.1.0",
"description": "Execute a command and send a yo",
"bin": {
"yo": "yo.js"
},
"main": "yo.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
@BafS
BafS / Readme.md
Last active April 11, 2021 15:18
Whale spotter (kucoin)

Requirements

  • nodejs

Run

  • npm i
  • node main
@BafS
BafS / proton-products-v5-arc.css
Last active May 26, 2022 20:04
Proton products – v5 theme (arc style)
/* A more simple theme for the Proton apps */
/* Use native font stack, less rounded, less saturate and more blueish colors, removed the logos to keep the text only */
/* You can use it with an addon like "Stylus" */
:root {
/* Use native font stack (https://getbootstrap.com/docs/4.1/content/reboot/#native-font-stack) */
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
/* To change border radius */
@BafS
BafS / convert-spx-to-trace.php
Created December 6, 2023 17:07
Convert SPX format to trace event
<?php
// Usage: php convert-spx-to-trace.php input.dms > foo-trace.json
[, $file] = $argv;
$data = file($file);
$functions = [];
$events = [];