CCCPaste

Weather in your shell

#Weather in the shell
curl wttr.in

#moon phases
curl wttr.in/Moon

How to copy permissions from one file to another on Linux

#How to copy permissions from one file to another on Linux
#http://www.cyberciti.biz/faq/how-to-copy-permissions-from-one-file-to-another-on-linux/
chmod --reference=file.txt dest1.txt dest2.txt dest3.conf

3.2prog

#include <stdio.h>

int main() {
int n;
scanf_s("%d", &n);

windows powershell set screen brightness

#set screen brightness to 20%
(Get-WmiObject -Namespace root/WMI -Class WmiMonitorBrightnessMethods).WmiSetBrightness(1,20)

zadanie7b

#define F_CPU 1000000UL
#include <avr/io.h>
#include <util/delay.h>

int main(void) {

prog3.1

#include <stdio.h>

int main() {
int n;
scanf_s("%d", &n);

get Garfield comic

display "$(wget "http://www.gocomics.com/garfield" -q -O-|grep assets|tr '"' "\n"|grep "amuniversal"|tail -n 2|head -n 1)"

Cyanogenmod Notes Android

#Home Screen Internet links for Chrome are stored in
/data/data/com.cyanogenmod.trebuchet/shared_prefs/com.android.launcher3.prefs.xml

Basic HTML5 webcam photo taker

<html>

<head>
<script>
// Put event listeners into place
/*
* zadanie7.c
*
* Created: 3.3.2016 11:22:49
* Author: d14valicek