This post has been moved to my org's blog.
This file contains 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
[https://www.youtube.com/watch?v=UCjZiR3UsVk] | |
11:33 | |
17:47 | |
26:31 | |
1:10:38 | |
1:20:59 | |
2:00:50 | |
3:03:00 | |
[https://www.youtube.com/watch?v=2VfxgT2b1QA] |
This file contains 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
http://docs.mastercomfig.com/en/latest/tf2/cvarlist_linux/ |
This file contains 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
#include <iostream> | |
#include <string> | |
#include <cmath> | |
using namespace std; | |
//Functions | |
//GeoCalc Functions | |
float cylinderVolume(float rad, float hei){ | |
float cylVol; |
This file contains 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
import javax.swing.JFrame; | |
import asciiPanel.AsciiPanel; | |
import java.awt.event.KeyEvent; | |
import java.awt.event.KeyListener; | |
import java.util.*; | |
import java.awt.Color; | |
public class EscapeTheTrolls extends JFrame implements KeyListener { | |
public static final int WIDTH = 39; |
This file contains 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
#config/initializers/carrierwave.rb | |
module CarrierWave | |
module MiniMagick | |
# Rotates the image based on the EXIF Orientation | |
def exif_rotation | |
manipulate! do |img| | |
img.auto_orient | |
img = yield(img) if block_given? | |
img | |
end |
In my previous post I described how to securely acquire the Mozilla list of root certificates and convert them to a form usable by curl and various libraries which don't ship with them.
Next, I want to point Net:HTTP
at this file library-wide, so that it is used by all invocations of methods accessing https resources (in particular, Kernel#open
, which in ruby 1.8.7 does not have a ca_file option and is therefore unusable with https). I hunted around the ruby standard library for a couple hours and came up with this:
require 'open-uri'
require 'net/https'
module Net
class HTTP