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
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| relative=0 | |
| while [ $# -gt 0 ]; do | |
| case "$1" in | |
| -r|--relative) relative=1 ;; | |
| -h|--help) | |
| echo "usage: claude-hunk [-r|--relative]" | |
| exit 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
| ╭─── Claude Code v2.1.20 ──────────────────────────────────────────────────────╮ | |
| │ │ Tips for getting │ | |
| │ Welcome back Deepak! │ started │ | |
| │ │ Run /init to create a … │ | |
| │ ▐▛███▜▌ │ ─────────────────────── │ | |
| │ ▝▜█████▛▘ │ Recent activity │ | |
| │ ▘▘ ▝▝ │ No recent activity │ | |
| │ │ │ | |
| │ Opus 4.5 · Claude Pro · deepak.jois@gmail.com's │ │ |
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
| #!/bin/sh | |
| # Usage: generate-fiddle <folder> | |
| # Creates a folder and adds some files commonly used with JSFiddle | |
| set -e | |
| # Create folder | |
| mkdir $1 | |
| cd $1 |
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
| <?xml version="1.0" encoding="utf8"?> | |
| <opml version="1.1"> | |
| <!--Generated by NewsBlur - newsblur.com--> | |
| <head> | |
| <title>NewsBlur Feeds</title> | |
| <dateCreated>2024-10-29 13:31:17.809210</dateCreated> | |
| <dateModified>2024-10-29 13:31:17.809210</dateModified> | |
| </head> | |
| <body> | |
| <outline text="this geeked out lifestyle blog" title="this geeked out lifestyle blog" type="rss" version="RSS" htmlUrl="https://thisgeekedoutlife.com/" xmlUrl="https://thisgeekedoutlife.com/feed/"/> |
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
| <?xml version='1.0' encoding='UTF-8' standalone='yes' ?> | |
| <opml version="1.0"> | |
| <head> | |
| <title>PodcastAddict registration feeds</title> | |
| <dateCreated>Sep 14, 2024 23:02:38</dateCreated> | |
| <dateModified>Sep 14, 2024 23:02:38</dateModified> | |
| </head> | |
| <body> | |
| <outline text="16 Minutes News by a16z" type="rss" xmlUrl="https://feeds.simplecast.com/j9kKMsfH" htmlUrl="https://16minutes.simplecast.com" imageUrl="https://image.simplecastcdn.com/images/5e1d8c2c-81b5-4b70-bb9c-cbcfadb9366d/479fc3ec-1d90-4d0f-adec-77575ded1ac4/3000x3000/a16z-16minutes-fa-flat.jpg?aid=rss_feed" /> | |
| <outline text="A Correction Podcast" type="rss" xmlUrl="https://www.acorrectionpodcast.com/phonyeconomy?format=rss" htmlUrl="https://www.acorrectionpodcast.com/phonyeconomy/" imageUrl="https://images.squarespace-cdn.com/content/v1/570e4be5b09f951fdd672070/1468410431991-F4T0Z9BTQBOK6YLNSQ1W/Eraser+iTunes+2.jpg?format=1500w" /> |
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
| # Y Combinator in Ruby, Take 2 | |
| # | |
| # Based off an explanation of Y Combinator here: | |
| # http://article.gmane.org/gmane.comp.lang.perl.perl-mongers.boston/1518 | |
| # | |
| # Also inspired by this post from nex3: | |
| # http://nex-3.com/posts/43-fun-with-the-y-combinator-in-ruby | |
| # Here's an explanation of the Y-Combinator. It won't work in | |
| # Perl because Perl doesn't do lexical binding of input |
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
| ubuntu@ip-172-31-36-148:~/taprecruit-app$ apt list --installed | grep php | |
| dh-php/xenial,now 0.10 all [installed,upgradable to: 0.33+ubuntu16.04.1+deb.sury.org+1] | |
| php/xenial,now 1:7.0+35ubuntu6 all [installed,upgradable to: 2:7.2+67+ubuntu16.04.1+deb.sury.org+0] | |
| php-apcu/now 5.1.8+4.0.11-1+deb.sury.org~xenial+1 amd64 [installed,upgradable to: 5.1.12+4.0.11-1+ubuntu16.04.1+deb.sury.org+10] | |
| php-bcmath/xenial,now 1:7.0+35ubuntu6 all [installed,upgradable to: 2:7.2+67+ubuntu16.04.1+deb.sury.org+0] | |
| php-common/now 1:52+deb.sury.org~xenial+1 all [installed,upgradable to: 2:67+ubuntu16.04.1+deb.sury.org+0] | |
| php-curl/xenial,now 1:7.0+35ubuntu6 all [installed,upgradable to: 2:7.2+67+ubuntu16.04.1+deb.sury.org+0] | |
| php-dev/xenial,now 1:7.0+35ubuntu6 all [installed,upgradable to: 2:7.2+67+ubuntu16.04.1+deb.sury.org+0] | |
| php-gd/xenial,now 1:7.0+35ubuntu6 all [installed,upgradable to: 2:7.2+67+ubuntu16.04.1+deb.sury.org+0] | |
| php-gearman/now 2.0.3+1.1.2+-1+deb.sury.org~xenial+1 amd64 [installed,upgradable to: 2.0.5+1.1.2-2+ubuntu16 |
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
| #!/bin/bash | |
| # | |
| # Usage: | |
| # > futurelearn_dl.sh login@email.com password course-name week-id | |
| # Where *login@email.com* and *password* - your credentials | |
| # ,*course-name* is the name from URL | |
| # and *week-id* is the ID from the URL | |
| # | |
| # E.g. To download all videos from the page: https://www.futurelearn.com/courses/corpus-linguistics/todo/238 |
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am deepakjois on github. | |
| * I am debugjois (https://keybase.io/debugjois) on keybase. | |
| * I have a public key whose fingerprint is B745 7F64 BD5B D5AD 04AC 3A19 77DA 8872 520D A130 | |
| To claim this, I am signing this object: |
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
| File.open(ARGV[0]).each { |line| | |
| line.gsub!(/;/,"") | |
| line.gsub!(/let /, "local ") | |
| line.gsub!(/\/\/ /, "-- ") | |
| line.gsub!(/:/, " =") | |
| line.gsub!(/export default/, "return") | |
| line.gsub!(/export /, "") | |
| line.gsub!(/new ([a-zA-Z0-9.]+)\(/, '\1.new(') | |
| line.gsub!(/^import (.*) from (.*)$/, 'local \1 = require(\2)') | |
| line.gsub!(/([x\d]+) = {/, '[\1] = {') |
NewerOlder