Getting started:
Related tutorials:
- MySQL-CLI: https://www.youtube.com/playlist?list=PLfdtiltiRHWEw4-kRrh1ZZy_3OcQxTn7P
- Analyzing Business Metrics: https://www.codecademy.com/learn/sql-analyzing-business-metrics
import bpy | |
import bmesh | |
import random | |
from mathutils import Vector, noise, Matrix | |
from math import sin, cos, tau, pi, radians | |
from utils.interpolation import * | |
from easing_functions import * | |
frame_start = 1 | |
total_frames = 120 |
vscode |
float decel(float x) { // as an easing function | |
return 1-(x-1)*(x-1); | |
} | |
void setup() { | |
background(255); | |
size(750,750,P2D); | |
PImage img = loadImage("image.png"); | |
strokeWeight(2); | |
noFill(); |
#!/bin/bash | |
# Script reads configuration values from Prestashop settings, | |
# and makes database dump into default prestashop backup folder (adminXYZ1234/backups). | |
function get_parameter_value() { | |
echo $(cat $PARAMETERS | grep $1 | awk '{print $3}' | sed -e "s/[',]//g") | |
} | |
PARAMETERS=../public_html/app/config/parameters.php | |
DB_NAME=$(get_parameter_value database_name) |
-- Deleting all customer messages in prestashop written in Russian | |
-- Search for three most popular russian characters "о, е, а" | |
-- Deleting thread info from ps_customer_thread column | |
delete from | |
ps_customer_thread | |
where | |
id_customer_thread in ( | |
select | |
id_customer_thread |
#!/usr/bin/env python | |
# | |
# AccessDump.py | |
# A simple script to dump the contents of a Microsoft Access Database. | |
# It depends upon the mdbtools suite: | |
# http://sourceforge.net/projects/mdbtools/ | |
import sys, subprocess, os | |
DATABASE = sys.argv[1] |
<html> | |
<head> | |
</head> | |
<span> | |
__APP_VERSION__ | |
</span> | |
</html> |
Getting started:
Related tutorials:
#!/bin/bash | |
if [ -z "$1" ] | |
then echo " | |
Usage: script [directory] [change files] | |
Arguments: | |
directory - script take all jpg files from directory | |
change files - if true files will be changed, otherwise (default) then will not change any files (test run) | |
Requirements: optipng |
#!/bin/bash | |
if [ -z "$1" ] || [ -z "$2" ] | |
then echo " | |
Usage: script [directory] [quality] [change files] | |
Requirements: ImageMagic (convert, identify), jpegoptim | |
Arguments: | |
directory - script take all jpg files from directory | |
quality - jpg quality value (0-100); if file has higher quality will be processed lossy, otherwise lossless |