Skip to content

Instantly share code, notes, and snippets.

View sgobotta's full-sized avatar
:octocat:
(🎧) => ╭( 👁️◡👁️ )/

Santiago Botta sgobotta

:octocat:
(🎧) => ╭( 👁️◡👁️ )/
View GitHub Profile
@elbrujohalcon
elbrujohalcon / frequency.erl
Created July 7, 2020 14:58
Frequency with Errors
%% @doc Frequency server that "transmits" errors from server to client
-module frequency.
-export [test/0].
-export [start/0, allocate/0, deallocate/1].
-export [init/0].
test() ->
%% Ensure the server is killed... This is ugly
catch exit(whereis(frequency), kill),
@WIStudent
WIStudent / README.md
Created February 7, 2019 19:44
Vuetify + Vue Test Utils + Jest + Stupid sync flag

If you remove {sync: false} from

const _mount = () => mount(TestComponent,  {sync: false});

in component.test.js, the test will break. If you keep it, everything is fine.

@ahmadshah
ahmadshah / randomizer.ex
Created September 1, 2016 10:28
Random string in elixir
defmodule Randomizer do
@moduledoc """
Random string generator module.
"""
@doc """
Generate random string based on the given legth. It is also possible to generate certain type of randomise string using the options below:
* :all - generate alphanumeric random string
* :alpha - generate nom-numeric random string
@hyOzd
hyOzd / reload_ext.sh
Last active January 21, 2024 01:08
Reload a cinnamon extension or applet from the command line. Useful during extension/applet development. Replace the EXTENSION_UUID at the end of the command with your extensions UUID.
# replace the EXTENSION_UUID with your extension/applet/desklet name
# replace the APPLET with other types if you are not working with an applet
dbus-send --session --dest=org.Cinnamon.LookingGlass --type=method_call /org/Cinnamon/LookingGlass org.Cinnamon.LookingGlass.ReloadExtension string:'EXTENSION_UUID' string:'APPLET'
@rxaviers
rxaviers / gist:7360908
Last active November 18, 2024 10:08
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: