Skip to content

Instantly share code, notes, and snippets.

View annawinkler's full-sized avatar

Anna Rajendran annawinkler

View GitHub Profile
#!/Users/aaron/.rubies/arm64/ruby-trunk/bin/ruby
# This is a demo language server for Ruby, written in Ruby. It just checks
# the syntax of Ruby programs when you save them.
#
# Configure this in Vim by adding the vim-lsp plugin, then doing this
# in your vimrc:
#
# au User lsp_setup
# \ lsp#register_server({
@annawinkler
annawinkler / icebreakers.md
Last active May 2, 2023 13:51
my favorite icebreaker questions
  • What's your favorite dessert?
  • If you could spend the weekend in any city which would you choose?
  • What's the most beautiful place you've ever seen?
  • Would you rather live by the beach or in the mountains?
  • What kind of vegetable are you?
  • What do you love about your hometown?
  • Where would you most like to travel?
  • If you could appear on any game show which would you choose?
  • What’s the most amazing weather you’ve seen?
  • What is your favourite ice cream?
@tundal45
tundal45 / fire-roasted-eggplant-mash.md
Created August 22, 2018 16:08
Fire Roasted Eggplant Mash

Ingredients

  • 3-4 italian eggplants
  • 3-4 peppers (either Jalapenos or Serano is fine depending on how much kick you want)
  • 1/2 bunch cilantro
  • Salt (according to taste)
  • 1 tbsp mustard oil (can be found in indian stores, really adds to the aroma and flavor)

Directions

@timvisee
timvisee / falsehoods-programming-time-list.md
Last active June 1, 2024 22:47
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).
@marcellodesales
marcellodesales / formatted.sh
Last active November 14, 2023 19:22
One-liner REST server using netcat - nc
rm -f out
mkfifo out
trap "rm -f out" EXIT
while true
do
cat out | nc -w1 -l 1500 > >( # parse the netcat output, to build the answer redirected to the pipe "out".
export REQUEST=
while read line
do
line=$(echo "$line" | tr -d '[\r\n]')
@illbzo1
illbzo1 / The Tomb of Unfathomable Horror
Created October 16, 2011 21:50
Text-based Dungeon Adventure
# creates an empty array for the user's inventory
@inventory = []
# this is the command prompt method
def prompt()
print "Enter command > "
end
# shows a list of viable commands when a user enters "help" at the command prompt
def help()