Skip to content

Instantly share code, notes, and snippets.

Dennis Ideler dideler

Block or report user

Report or block dideler

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
dideler / queries.ex
Last active Apr 28, 2018
Useful Elixir snippets
View queries.ex
iex> Ecto.Adapters.SQL.query!(MyApp.Repo, "select 1")
columns: ["?column?"],
command: :select,
connection_id: 7250,
num_rows: 1,
rows: [[1]]
dideler / bot.rb
Last active Dec 2, 2019
Sending a notification message to Telegram (via cURL)
View bot.rb
# Use this script to test that your Telegram bot works.
# Install the dependency
# $ gem install telegram_bot
# Run the bot
# $ ruby bot.rb
dideler / usersettings.json
Last active Mar 11, 2018
VSCode override language-specific settings of a plugin, e.g. use tab size of 2 spaces
View usersettings.json
"[fish]": {
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"editor.trimAutoWhitespace": true,

Keybase proof

I hereby claim:

  • I am dideler on github.
  • I am dideler ( on keybase.
  • I have a public key ASCZ-zKRi4tsgConaYw1Il11KFV67wcFI8IlpG9iYovPIwo

To claim this, I am signing this object:


James Powell -


  • useful for dealing with iterators & iterables
  • e.g. chain (for appending lists and tuples, instead of +)
  • also includes algorithms, e.g. takewhile (e.g. takewhile fibonacci < 50)


dideler / Gemfile
Last active Sep 9, 2018
Example of building a Directed Acyclic Graph (DAG) for tasks that depend on each others
View Gemfile
source ''
gem 'plexus'
gem 'gratr' # dependency of plexus to visualize graphs
dideler /
Last active Jul 2, 2016 — forked from jezen/Io Example Problems
The example problems have gone missing from the Io language website, so here’s a backup.
# Hello world
"Hello world!" print
# Factorial
factorial := method(n, if(n == 1, 1, n * factorial(n - 1)))
99 bottles of beer
bottle := method(i,
dideler /
Last active Apr 2, 2017
Basic CLI loading animation
#!/usr/bin/env bash
for i in {0..12}; do
if ! (($i % 4)); then
printf "\e[1K\rloading"
printf "."
sleep 1
done && printf "\e[2K\r"
dideler /
Last active Oct 4, 2015
IRC Guide

Register yourself

Choose a nick

/nick <newnick>

Register the nick

/msg NickServ REGISTER <password> <>
You can’t perform that action at this time.