Edward Snowden answered questions after a showing of CITIZENFOUR at the IETF93 meeting; this is a transcript of the video recording.
For more information, see the Internet Society article.
void rot18(char *c) | |
{ | |
while (*c) | |
{ | |
if (*c >= 'A' && *c <= 'Z') | |
*c = ('A' + (*c - 'A' + 13) % 26); | |
else if (*c >= 'a' && *c <= 'z') | |
*c = ('a' + (*c - 'a' + 13) % 26); | |
else if (*c >= '0' && *c <= '9') | |
*c = ('0' + (*c - '0' + 5) % 10); |
Edward Snowden answered questions after a showing of CITIZENFOUR at the IETF93 meeting; this is a transcript of the video recording.
For more information, see the Internet Society article.
# Copyright 2016-2022 Paul Durivage | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
// Just before switching jobs: | |
// Add one of these. | |
// Preferably into the same commit where you do a large merge. | |
// | |
// This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
// and then it quickly escalated into more and more evil suggestions. | |
// I've tried to capture interesting suggestions here. | |
// | |
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
""" | |
Series of data are loaded from a .csv file, and their names are | |
displayed in a checkable list view. The user can select the series | |
it wants from the list and plot them on a matplotlib canvas. | |
Use the sample .csv file that comes with the script for an example | |
of data series. | |
Eli Bendersky (eliben@gmail.com) | |
License: this code is in the public domain |
# coding=utf8 | |
# Copyright (C) 2011 Saúl Ibarra Corretgé <saghul@gmail.com> | |
# | |
# Some inspiration taken from: http://www.morethantechnical.com/2009/03/05/qt-opencv-combined-for-face-detecting-qwidgets/ | |
import cv | |
import sys |
# Copyright (c) 2010, Luca Antiga, Orobix Srl. | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are | |
# met: | |
# | |
# * Redistributions of source code must retain the above copyright | |
# notice, this list of conditions and the following disclaimer. | |
# |