- https://www.transparenttextures.com/ - Raster patterns
- https://www.toptal.com/designers/subtlepatterns/ - Raster patterns
- http://www.heropatterns.com/ - SVG patterns
- https://coolors.co/ - The super fast color schemes generator!
- http://www.lolcolors.com/ - Color schemes
- https://color.adobe.com/ - Color schemes
- https://draw.io - Diagram tool
- https://brandcolors.net/ - Color codes of famous brands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run as: blender -b <filename> -P <this_script> -- <image_path> | |
# Example: blender -b myfile.blend -P render.py -- new_texture.png | |
import bpy, sys, os | |
# Assume the last argument is image path | |
imagePath = bpy.path.abspath(os.path.join(os.getcwd(), sys.argv[-1])) | |
if not os.path.exists(imagePath): | |
print("Image not found:", imagePath) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh pi@x.x.x.x | |
export DISPLAY=:0 | |
chromium-browser --noerrdialogs --kiosk 'https://google.com' --incognito |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -o test.jpg https://images.unsplash.com/photo-1519606247872-0440aae9b827?ixlib=rb-0.3.5&q=85&fm=jpg&crop=entropy&cs=srgb&dl=jude-infantini-574421-unsplash.jpg&s=09862427d88b5ae5cb409700be593adc | |
convert test.jpg -blur 5 -resize 1000x output.jpg | |
convert test.jpg -resize 1000x -blur 5 output2.jpg | |
# open output.jpg && open output2.jpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { query } = require('../util/pg') | |
/* | |
Usage: | |
function handler(req) { | |
const id = req.params.id | |
const core = new UserCore(req.logger) | |
return core.getUser(id) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
const fs = require('fs'); | |
if (!process.argv[2]) { | |
console.error('Incorrect parameters'); | |
console.error('Usage: ./analytics.js <json-file>'); | |
process.exit(2); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
const fs = require('fs'); | |
if (!process.argv[2]) { | |
console.error('Incorrect parameters'); | |
console.error('Usage: ./analytics.js <json-file>'); | |
process.exit(2); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#ifdef _MSC_VER | |
#include <intrin.h> /* for rdtscp and clflush */ | |
#pragma optimize("gt",on) | |
#else | |
#include <x86intrin.h> /* for rdtscp and clflush */ | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Joi = require('joi'); | |
const payload = [{ | |
type: 'book', | |
author: 'Herman Melville', | |
}, | |
{ | |
type: 'periodical', | |
volume: 1, | |
}, { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Kimmo", | |
"telegramChannels": [{ "name": "coodiryhmä" }, { "name": "TRESekoilu" }] | |
} |
NewerOlder