Skip to content

Instantly share code, notes, and snippets.

View dmitrykolesnikovich's full-sized avatar

Dmitry Kolesnikovich dmitrykolesnikovich

View GitHub Profile
package com.memorynotfound.file;
import java.io.IOException;
import java.util.Locale;
public class OSInfo {
public enum OS {
WINDOWS,
UNIX,
reset && hiscory -c
@dmitrykolesnikovich
dmitrykolesnikovich / clear the current line in terminal
Created July 7, 2018 08:10
clear the current line in terminal
Ctrl+U
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home
export M2_HOME=/Applications/apache-maven-3.5.4
export ANDROID_HOME=/Users/dmitrykolesnikovich/Library/Android/sdk
export FEATUREA_HOME=/Users/dmitrykolesnikovich/workspace/featurea
export PATH=$PATH:$M2_HOME/bin:$ANDROID_HOME/build-tools:$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin
function clear() {
reset && history -c
}
export clear
1)
#0
<Application>
<Window title="I love featurea" fullscreen="true"/>
<Vfs id="vfs" />
<World id="screen/world" gravity="10">
<Body id="man" position="0, 0" circle="3, 3" sprite="mario.png"/>
<Body id="wheel1" position="0, 0" circle="3, 3"/>
<Body id="wheel2" position="20, 20" rectangle="-3, -3, 3, 3"/>
@dmitrykolesnikovich
dmitrykolesnikovich / exportOptions.plist
Created September 15, 2018 15:30 — forked from skabber/exportOptions.plist
Export Options Plist Example
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>method</key>
<string>app-store</string>
<key>teamID</key>
<string>XXXXXXXXXX</string>
<key>uploadBitcode</key>
<true/>
@dmitrykolesnikovich
dmitrykolesnikovich / mainImage.glsl
Last active October 30, 2018 21:22
Simple line drawing
// https://www.shadertoy.com/view/XtlXz7
#define resolution vec2(500.0, 500.0)
#define Thickness 0.03
float drawLine(vec2 p1, vec2 p2) {
vec2 uv = gl_FragCoord.xy / resolution.xy;
float a = abs(distance(p1, uv));
float b = abs(distance(p2, uv));
2018-11-27 02:09:53.324 Start thread 104.196.164.25:502
2018-11-27 02:09:53.326 Start thread 35.231.131.131:502
2018-11-27 02:09:53.329 Start thread 192.168.100.4:502
2018-11-27 02:09:53.332 Start thread 35.231.39.116:502
2018-11-27 02:09:53.334 Start thread 35.243.187.233:502
2018-11-27 02:09:53.346 Connect 192.168.100.4:502
2018-11-27 02:09:53.464 Connect 104.196.164.25:502
2018-11-27 02:09:53.466 Connect 35.243.187.233:502
@dmitrykolesnikovich
dmitrykolesnikovich / privacy
Last active January 11, 2019 16:01
privacy
<h2 style="margin: 0.0px 0.0px 14.9px 0.0px; line-height: 23.0px; font: 18.0px 'Helvetica Neue'; color: #000000; -webkit-text-stroke: #000000"><span class="s1"><b>Privacy Policy</b></span></h2>
<p class="p2"><span class="s1">L-Control Ltd built the L-Control Smart Client app as a Free app. This SERVICE is provided by L-Control Ltd at no cost and is intended for use as is.<span class="Apple-converted-space"> </span></span></p>
<p class="p2"><span class="s1">This page is used to inform visitors regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our Service.<span class="Apple-converted-space"> </span></span></p>
<p class="p2"><span class="s1">If you choose to use our Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that we collect is used for providing and improving the Service. We will not use or share your information with anyone except as described in this Privacy Policy.<span c
<html>
<body>
<img src="http://150.214.222.102:80/mjpg/video.mjpg" style='height: 200px; width: 200px; object-fit: contain; background-color:red'></img>
</body>
</html>