This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I'm a speaker at [Wroc_love.rb](http://www.wrocloverb.com/). | |
Personally I would prefer the place to be more inclusive But I won't | |
support bullying the organizers into making decisions against their will. | |
Making the conference (especially virtually non-profit one like | |
wroc_love.rb) is a huge amount of work And I know that because I've been | |
selecting diverse set of speakers for two Railsberry conferences before it | |
was even cool. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Rust 0.10-pre (Tue Mar 18, 2014) | |
// $ rustc -L rust-openssl/build/ -L rust-toml/lib doing.rs | |
// assuming https://github.com/sfackler/rust-openssl is cloned and compiled, | |
// and https://github.com/mneumann/rust-tom is cloned and compiled | |
#[feature(macro_rules)]; | |
#[allow(deprecated_owned_vector)]; | |
extern crate openssl; | |
extern crate serialize; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{- | |
This file is a reaction to the article "A small dive into, and rejection of, Elm": | |
https://hackernoon.com/a-small-dive-into-and-rejection-of-elm-8217fd5da235#.9w3ml4r6b | |
I think constructive criticism is very welcome in the Elm community. Pointing out | |
possibilities for documentation improvements, mentioning missing features or ways | |
in which the language could evolve etc. are imho a vital part of a good community. | |
However, the article above is neither well informed nor constructive. IMHO ranting |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# setup some input parameters | |
encrypted_decrypted = 'some string to encrypt or decrypt' | |
action = :encrypt # set to :encrypt or :decrypt | |
secret_key = 'abc123' # define shared secret key here | |
# encryption / decryption code... | |
cipher = OpenSSL::Cipher.new('AES-128-ECB') | |
if action == :decrypt | |
cipher.key = [secret_key].pack('H*') | |
cipher.padding = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you are facing an error like that on new MacOS version. | |
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun | |
It means that you need to install XCode command line, open a Terminal and run this command: | |
$ xcode-select --install | |
Note: | |
If you want to download and install Command Line tools manually, it can be downloaded from: https://developer.apple.com/download/more/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fetches the public IP of a TP-Link Archer MR400 router. | |
# For some reason, this wasn't the same as you see from a _device_ connected to | |
# the router, so typical FreeDNS updates which use the IP of the device | |
# requesting the update weren't working. | |
# You must install the 'snmp' gem and enable SNMP in the router settings. | |
require 'snmp' | |
# The local IP address of the router |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
# Export FatSecret Weight History CSV | |
A simple script for exporting all FatSecret weight history to CSV. | |
## Installation | |
*Install Dependencies* | |
```sh |
OlderNewer