Skip to content

Instantly share code, notes, and snippets.

View 0jonjo's full-sized avatar

João Gilberto Saraiva 0jonjo

View GitHub Profile
@0jonjo
0jonjo / chage_nameserver.sh
Last active July 10, 2022 19:46
A simple way to change nameserver and conect to internet in some Cabo Telecom (Brazil) internet router.
#!/bin/bash
cd /etc
echo "nameserver 8.8.8.8" > resolv.conf
echo "nameserver 4.4.4.4" >> resolv.conf
class Year
def happy_new(year)
puts "happy new year!".upcase
puts year
end
end
tomorrow = Year.new
puts " . ."
puts " ) ( "
puts " ((____/))"
puts " ( @) (@ )"
puts " ) ( "
puts " (_o_^_o_)"
puts " V V "
puts ""