I wrote this four years ago, so instead use this command:
$ docker rmi $(docker images -q -f dangling=true)
#include <pthread.h> | |
#include <stdio.h> | |
#include <unistd.h> | |
#include <assert.h> | |
/* Compile like this: | |
gcc --std=c99 -lpthread cond.c -o cond |
for line in yourString:gmatch("([^\n]*)\n?") do | |
-- do something | |
end |
# delete local tag '12345' | |
git tag -d 12345 | |
# delete remote tag '12345' (eg, GitHub version too) | |
git push origin :refs/tags/12345 | |
# alternative approach | |
git push --delete origin tagName | |
git tag -d tagName |
docker ps | awk {' print $1 '} | tail -n+2 > tmp.txt; for line in $(cat tmp.txt); do docker kill $line; done; rm tmp.txt |
; À compiler avec nasm -felf64 cat.asm && ld cat.o -o cat | |
%define SYS_EXIT 60 | |
%define SYS_READ 0 | |
%define SYS_WRITE 1 | |
%define SYS_OPEN 2 | |
%define SYS_CLOSE 3 | |
%define STDOUT 1 | |
%define BUFFER_SIZE 2048 |
# Assuming an Ubuntu Docker image | |
$ docker run -it <image> /bin/bash |
To remove a submodule you need to:
#!/usr/bin/env python3 | |
import sys | |
import struct | |
if len(sys.argv) < 2: | |
print("Usage: aac_parer.py <target.aac>") | |
exit() | |
aacfile = open(sys.argv[1], 'rb') | |
frame_no = 1 |
PdfLatex is a tool that converts Latex sources into PDF. This is specifically very important for researchers, as they use it to publish their findings. It could be installed very easily using Linux terminal, though this seems an annoying task on Windows. Installation commands are given below.
sudo apt-get install texlive-latex-base