Skip to content

Instantly share code, notes, and snippets.

View petrushy's full-sized avatar

Petrus Hyvönen petrushy

View GitHub Profile
@PEZ
PEZ / rich4clojure_easy_problem_029.clj
Last active October 18, 2024 22:00
Get the Caps – Rich 4Clojure Problem 29 – See: https://github.com/PEZ/rich4clojure
(ns rich4clojure.easy.problem-029
(:require [hyperfiddle.rcf :refer [tests]]))
;; = Get the Caps =
;; By 4Clojure user: dbyrne
;; Difficulty: Easy
;; Tags: [strings]
;;
;; Write a function which takes a string and returns a new
;; string containing only the capital letters.
@rossant
rossant / handsondataframe.ipynb
Created March 10, 2014 12:08
Excel-like data grid editor for Pandas in the IPython notebook with Handsontable
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@minrk
minrk / analysis.ipynb
Created April 30, 2013 19:05
running one notebook from another
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@stefanfoulis
stefanfoulis / findauthors.sh
Created April 8, 2011 12:37
How to sync svn to git
#!/usr/bin/env bash
# Run this script inside a SVN checkout of the project
authors=$(svn log -q | grep -e '^r' | awk 'BEGIN { FS = "|" } ; { print $2 }' | sort | uniq)
for author in ${authors}; do
echo "${author} = NAME <USER@DOMAIN>";