Most commons are cdecl, stdcall, fastcall
In function calls, parameters are pushed onto the stack from right to left.
int func(int x, int y, int z, int m, int k);
int a, b, c, d, e, ret;
#/bin/bash | |
# Installs libfreetype6 2.8.0 into affected electron app. | |
# For more details ee: | |
# https://github.com/atom/atom/issues/15737 | |
# https://github.com/Microsoft/vscode/issues/35675 | |
CRT=$(dpkg-query --showformat='${Version}' --show libfreetype6) | |
CRT=$(echo $CRT | sed -e 's/-.*$//g') |
using Microsoft.Win32.SafeHandles; | |
using System; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Runtime.InteropServices; | |
using System.Threading; | |
namespace ConsoleEngine | |
{ |
using System.Collections.Concurrent; | |
using System.Collections.Generic; | |
using System.Drawing; | |
using System.Drawing.Drawing2D; | |
using System.Drawing.Imaging; | |
using System.Linq; | |
using System.Text; | |
public class Bitmap2Ascii | |
{ |
Free O'Reilly books and convenient script to just download them.
Thanks /u/FallenAege/ and /u/ShPavel/ from this Reddit post
How to use:
download.sh
file and put it into a directory where you want the files to be saved.cd
into the directory and make sure that it has executable permissions (chmod +x download.sh
should do it)./download.sh
and wee there it goes. Also if you do not want all the files, just simply comment the ones you do not want.FROM php:7.1.2-apache | |
RUN docker-php-ext-install mysqli |
Disclaimer: Please follow this guide being aware of the fact that I'm not an expert regarding the things outlined below, however I made my best attempt. A few people in IRC confirmed it worked for them and the results looked acceptable.
Attention: After following all the steps run gdk-pixbuf-query-loaders --update-cache
as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc.
Check the gist's comments for any further tips and instructions, especially if you are running into problems!
Results after following the guide as of 11.01.2017 13:08:
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<!-- | |
Noto Mono + Color Emoji Font Configuration. | |
Currently the only Terminal Emulator I'm aware that supports colour fonts is Konsole. | |
Usage: | |
0. Ensure that the Noto fonts are installed on your machine. | |
1. Install this file to ~/.config/fontconfig/conf.d/99-noto-mono-color-emoji.conf |
▄ ▄ | |
▌▒█ ▄▀▒▌ | |
▌▒▒█ ▄▀▒▒▒▐ | |
▐▄▀▒▒▀▀▀▀▄▄▄▀▒▒▒▒▒▐ | |
▄▄▀▒░▒▒▒▒▒▒▒▒▒█▒▒▄█▒▐ | |
▄▀▒▒▒░░░▒▒▒░░░▒▒▒▀██▀▒▌ | |
▐▒▒▒▄▄▒▒▒▒░░░▒▒▒▒▒▒▒▀▄▒▒▌ | |
▌░░▌█▀▒▒▒▒▒▄▀█▄▒▒▒▒▒▒▒█▒▐ | |
▐░░░▒▒▒▒▒▒▒▒▌██▀▒▒░░░▒▒▒▀▄▌ | |
▌░▒▄██▄▒▒▒▒▒▒▒▒▒░░░░░░▒▒▒▒▌ |