https://github.com/zyedidia/micro/blob/master/runtime/help/defaultkeys.md https://github.com/zyedidia/micro/blob/master/runtime/help/commands.md https://github.com/zyedidia/micro/blob/master/runtime/help/keybindings.md
Ctrl+E to open command panel
// I had problems getting mouse movement events working in ncurses, but after | |
// some research, it seems as if this is how you can do it. The magic is in the | |
// printf("\033[?1003h\n") which was the missing piece in the puzzle for me | |
// (see console_codes(4) for more information). 1003 means here that all events | |
// (even position updates) will be reported. | |
// | |
// This seems to work in at least three X-based terminals that I've tested: | |
// xterm, urxvt and gnome-terminal. It doesn't work when testing in a "normal" | |
// terminal, with GPM enabled. Perhaps something for the next gist version? :) |
<html> | |
<head> | |
<title>Flappy Bird</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> | |
<link href='https://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet'> | |
<link href='https://fonts.googleapis.com/css?family=Permanent Marker' rel='stylesheet'> |
import time | |
import scratchconnect | |
user = scratchconnect.ScratchConnect("Username", "Password") | |
all_followers = user.followers(all=True) | |
invited_followers = [] | |
for i in range(0, len(all_followers)): | |
processing = all_followers[i] | |
for j in range(0, len(processing)): |
This is a repost and update to an imgur album with screenshots of ToaruOS throughout its development, as imgur is no longer a viable platform for maintaining this collection.
My first commit in the ToaruOS repository, ecd4fe2bc170b01ad700ff76c16da96993805355, was made on January 15th, 2011. This date has become ToaruOS's "birthday". It would be another six years and two weeks before ToaruOS's first real release, 1.0.
I'll explain how to create programs that run on Windows (.exe
files) from a Linux machine. I'll explain how to compile C and C++, and how to make 32- and 64-bit programs. I'll also explain how to use third-party libraries (we'll use SDL2 here), and how to distribute the programs. We'll use the MinGW-w64 toolchain to accomplish this.
Note: MinGW-w64 is a fork of its predecessor, MinGW. They are different. If you install MinGW-w64 in a different way than shown in this document, make sure you have MinGW-w64, not just MinGW!