Skip to content

Instantly share code, notes, and snippets.

View FeodorFitsner's full-sized avatar
🐢
Working on something new

Feodor Fitsner FeodorFitsner

🐢
Working on something new
View GitHub Profile
@FeodorFitsner
FeodorFitsner / README.md
Created July 1, 2023 19:40
Install SQL Server 2022 Express on Apple M2
@FeodorFitsner
FeodorFitsner / main.dart
Created April 16, 2023 18:03 — forked from netsmertia/main.dart
flutter image drawing in canvas
import 'package:flutter/material.dart';
import 'dart:ui' as ui;
import 'package:flutter/services.dart' show rootBundle;
import 'dart:async';
import 'dart:typed_data';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@FeodorFitsner
FeodorFitsner / customPainter.dart
Created April 16, 2023 18:01 — forked from OPY-bbt/customPainter.dart
draw network image in CustomPainter and save content to file
import 'dart:io';
import 'dart:ui' as ui;
import 'package:flutter/material.dart';
import 'package:path_provider/path_provider.dart';
void main() => runApp(MyApp());
String FILENAME = 'timg.jpeg';
@FeodorFitsner
FeodorFitsner / mac-clear-icon-cache.sh
Created December 27, 2022 18:02 — forked from ismyrnow/mac-clear-icon-cache.sh
Clear the icon cache on a Mac when you start seeing generic icons in Finder or the Dock
sudo rm -rfv /Library/Caches/com.apple.iconservices.store; sudo find /private/var/folders/ \( -name com.apple.dock.iconcache -or -name com.apple.iconservices \) -exec rm -rfv {} \; ; sleep 3;sudo touch /Applications/* ; killall Dock; killall Finder
@FeodorFitsner
FeodorFitsner / appveyor.yml
Created May 26, 2022 17:19
Node 14 install
image: ubuntu2004
install:
- nvm use 16
- node --version
build: off
test: off
@FeodorFitsner
FeodorFitsner / appveyor.yml
Last active September 6, 2021 16:15
appveyor.yml with matrix example for building on Windows, Linux and macOS
environment:
matrix:
- job_name: Windows
QTDIR: C:\Qt\5.10.1\msvc2017_64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- job_name: Linux
APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
- job_name: macOS
@FeodorFitsner
FeodorFitsner / install_build_agent_6_aws.ps1
Created February 10, 2021 03:20
Installing AppVeyor Build Agent 6.x on AWS
if (-not (test-path "$env:ProgramFiles\AppVeyor\BuildAgent")) {
$build_agent_mode = 'AmazonEC2'
$appveyor_user = 'appveyor'
$appveyor_password = '<your-desired-password>'
iex ((new-object net.webclient).DownloadString('https://gist.githubusercontent.com/FeodorFitsner/da03aa9de9fb95a9ec0a5a86821f98c6/raw/4deba4921235054b80a862d700f92c7543006d96/bootstrap-windows.ps1'))
}
@FeodorFitsner
FeodorFitsner / install_jdk_15.yaml
Created February 3, 2021 02:56
Install Oracle JDK on AppVeyor macOS image
install:
- sh: curl -LOb "oraclelicense=a" https://download.oracle.com/otn-pub/java/jdk/15.0.2+7/0d1cfde4252546c6931946de8db48ee2/jdk-15.0.2_osx-x64_bin.tar.gz -o jdk-15.0.2_osx-x64_bin.tar.gz
- sh: tar zxf jdk-15.0.2_osx-x64_bin.tar.gz
- sh: ./jdk-15.0.2.jdk/Contents/Home/bin/java --version
@FeodorFitsner
FeodorFitsner / nginx.conf
Created November 9, 2019 01:19
NGINX configuration for AppVeyor Server
# original discussion: https://github.com/appveyor/ci/issues/3184#issuecomment-552023103
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name example.com;
ssl_certificate /root/.acme.sh/example.com/fullchain.cer;
ssl_certificate_key /root/.acme.sh/example.com/example.com.key;
@FeodorFitsner
FeodorFitsner / linux-windows-appveyor.yml
Last active February 24, 2020 17:06
Windows after Linux chained build jobs
environment:
matrix:
# Linux job
- job_name: Linux build
appveyor_build_worker_image: ubuntu
# Windows job
- job_name: Windows build
job_depends_on: Linux build