Skip to content

Instantly share code, notes, and snippets.

View CosmicWebServices's full-sized avatar
🤖
Roboting

Cosmic Web Services CosmicWebServices

🤖
Roboting
View GitHub Profile
@ed-cooper
ed-cooper / thumbhack.rb
Last active September 10, 2017 19:40
Scratch Animated Thumbnail Hacker
#Scratch Animated Thumbnail Hacker, by @novice27b ( https://scratch.mit.edu/users/novice27b/ )
require "socket"
require "openssl"
file = File.binread('FILE PATH TO ANIMATED GIF GOES HERE - MUST BE UNDER 1MB')
id = 'PROJECT ID GOES HERE (THE END PART OF YOUR PROJECT URL)'
sessid = 'SCRATCH SESSION ID GOES HERE - CHECK YOUR BROWSER COOKIES TO GET THIS VALUE'
socket = TCPSocket.open("scratch.mit.edu", 443)
@nrollr
nrollr / MySQL_macOS_Sierra.md
Last active September 19, 2024 08:26
Install MySQL on Sierra using Homebrew

Install MySQL on macOS Sierra

This procedure explains how to install MySQL using Homebrew on macOS Sierra 10.12

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.

Install MySQL

At this time of writing, Homebrew has MySQL version 5.7.15 as default formulae in its main repository :

Why I hate TypeScript

Warning: These views are highly oppinated and might have some slightly incorrect facts. My experience with typescript was about 2 weeks in Node and a week in angular2.

Not Standard

TypeScript is implementing their own take on JavaScript. Some of the things they are writing will likely never make it in an official ES* spec either.

Technologies that have competing spec / community driven development have a history of failing; take: Flash, SilverLight, CoffeeScript, the list goes on. If you have a large code base, picking TypeScript is something your going to be living with for a long time. I can take a bet in 3 years JavaScript will still be around without a doubt.

Its also worth noting that they have built some things like module system and as soon as the spec came out they ditched it and started using that. Have fun updating!

@tsaqib
tsaqib / ideas.md
Last active November 15, 2024 13:02
Ideas that you can use for hackathons, competitions and research.

Ideas

I have collected and moderated these ideas from various public sources and put into one place so that problem solvers and solution developers may find inspirations. Because I wish to update it regularly, I have setup as a single page wiki. You may try these ideas on hackathons/competitions/research; some are quite intense problems and some are not. Many of the problems were prepared keeping Dhaka/Bangladesh in mind, but of course can be applied to just about any underdeveloped/developing and sometimes developed countries.

Categories:
  • Eradicate Extreme Poverty and Hunger
  • Education
  • Healthcare
  • Governance
@CosmicWebServices
CosmicWebServices / gist:454f08f47293a6fdf33b
Created February 28, 2015 19:50
MoblifyInserting.html
<html>
<head>
<title>Inserting Moblify</title>
<style src="http://cosmicsearch.org/Moblify.css"></style>
</head>
<body>
<h1>Hello Moblify!</h1>
</body>
</html>
@bnmnetp
bnmnetp / simpleskulpt.html
Last active October 15, 2023 09:11
Here is about the simplest example I can think of that gets you a working skulpt environment. This little sample shows regular python as well as importing a module.
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js" type="text/javascript"></script>
<script src="http://www.skulpt.org/js/skulpt.min.js" type="text/javascript"></script>
<script src="http://www.skulpt.org/js/skulpt-stdlib.js" type="text/javascript"></script>
</head>
<body>