Skip to content

Instantly share code, notes, and snippets.

View untrusted-lvl1-solution.js
/*****************
* cellBlockA.js *
*****************
*
* Good morning, Dr. Eval.
*
* It wasn't easy, but I've managed to get your computer down
* to you. This system might be unfamiliar, but the underlying
* code is still JavaScript. Just like we predicted.
*
@mesutbeyler
mesutbeyler / meslekler2.html
Created Apr 23, 2021 — forked from cuneyt/meslekler2.html
Türkiye'nin çeşitli meslek isimleri, javascript ile beraber.
View meslekler2.html
<select id="meslegi" name="meslegi" ></select/>
var mesleklers = ['Acentacı','Acil durum yönetmeni','Adli tabip','Agronomist','Ağ yöneticisi','Aşçı','Aşçıbaşı','Ahşap tekne yapımcısı','Aile hekimi','Aktar','Akortçu','Aktör','Aktüer','Aktris','Akustikçi','Albay','Ambalajcı','Ambarcı','Ambulans şoförü','Amiral','Anahtarcı','Analist','Anestezi uzmanı','Anestezi Teknikeri','Animatör','Antika satıcısı','Antropolog','Apartman yöneticisi','Araba satıcısı','Araba yıkayıcısı','Arabacı','Arabulucu','Araştırmacı','Arıcı','Arkeolog','Armatör','Arpist','Arşivci','Artist','Asansörcü','Asistan','Asker','Astrofizikçi','Astrolog','Astronom','Astronot','Astsubay','Atlet','Av bekçisi','Avcı','Avizeci','Avukat','Ayakçı (otogar, lokanta)','Ayakkabı boyacısı','Ayakkabı tamircisi','Ayakkabıcı','Ayı oynatıcısı','Araba tamircisi','Bacacı','Badanacı','Baharatçı','Bahçe bitkileri uzmanı','Bahçıvan','Bakan','Bakıcı','Bakırcı','Bakkal','Bakteriyolog','Balıkçı','Balon pilotu','Bankacı','Banker','Barmen','Barmeyd','Basketbolcu','Başbakan
View forest
def buildForest(inputLabels: List[String], inputData: List[AnomalyDetectionInputFeatureRecord], maxTreeDepth: Int, sampleCount: Int, treeCount: Int, randomSeed: Option[Int]): List[ITreeResult] = {
val lb: ListBuffer[ITreeResult] = new ListBuffer()
for (i <- 1 to treeCount) {
val subSample: List[AnomalyDetectionInputFeatureRecord] = Random.shuffle(inputData).take(sampleCount)
lb.append(ITreeResult(subSample.length, buildTree(subSample,inputLabels, maxTreeDepth, randomSeed)))
}
lb.toList
}
@mesutbeyler
mesutbeyler / meslekler.html
Created Apr 23, 2021 — forked from cuneyt/meslekler.html
Türkiye'nin çeşitli meslek isimleri
View meslekler.html
<select id="meslekler" name="meslekler">
<option value="Acentacı">Acentacı</option>
<option value="Acil durum yönetmeni">Acil durum yönetmeni</option>
<option value="Adli tabip">Adli tabip</option>
<option value="Agronomist">Agronomist</option>
<option value="Ağ yöneticisi">Ağ yöneticisi</option>
<option value="Aşçı">Aşçı</option>
<option value="Aşçıbaşı">Aşçıbaşı</option>
<option value="Ahşap tekne yapımcısı">Ahşap tekne yapımcısı</option>
<option value="Aile hekimi">Aile hekimi</option>
View tmux.conf
set-option -g default-terminal "screen-256color"
# set-option -g default-terminal "xterm-256color"
# History
set -g history-limit 10000
# Start windows at 1 rather than 0
set -g base-index 1
# bind-key -n M-/ copy-mode
@thanoskoutr
thanoskoutr / flask_mult_thread.py
Created Apr 23, 2021
A simple flask app with two endpoints to check the multithread performance of flask.
View flask_mult_thread.py
from flask import Flask, request, jsonify
from math import sqrt
app = Flask(__name__)
def successResponse():
return jsonify(success=True)
View dotnet_nuget_trust_list1
PS C:\Users\eryondon\source\repos\SigningDemo\TestSigned> dotnet nuget trust list
Registered trusted signers:
1. NewtonAuthor333 [author]
Certificate fingerprint(s):
[U] SHA256 - A3AF7AF11EBB8EF729D2D91548509717E7E0FF55A129ABC3AEAA8A6940267641
2. NuGet [repository]
Service Index: https://api.nuget.org/v3/index.json
Certificate fingerprint(s):
SHA256 - 0e5f38f57dc1bcc806d8494f4f90fbcedd988b46760709cbeec6f4219aa6157d
View app_compat_values.xml
<style name="Widget.AppCompat.Button" parent="Base.Widget.AppCompat.Button"/>
<style name="Base.Widget.AppCompat.Button" parent="android:Widget">
<item name="android:background">@drawable/abc_btn_default_mtrl_shape</item>
<item name="android:textAppearance">?android:attr/textAppearanceButton</item>
<item name="android:minHeight">48dip</item>
<item name="android:minWidth">88dip</item>
<item name="android:focusable">true</item>
<item name="android:clickable">true</item>
<item name="android:gravity">center_vertical|center_horizontal</item>
View Potential Maintainers
Maintainers:
davidak: python39Packages.pysvg-py3, python38Packages.pysvg-py3, python39Packages.humblewx, python38Packages.humblewx, python39Packages.pysvg-py3, python39Packages.humblewx, python38Packages.pysvg-py3, timeline, python38Packages.pysvg-py3, python38Packages.humblewx, python39Packages.pysvg-py3, python39Packages.humblewx, timeline, python39Packages.pysvg-py3, timeline, python38Packages.pysvg-py3, python38Packages.humblewx, python39Packages.humblewx, python38Packages.humblewx, timeline
View Changed Paths
i686-linux python39Packages.pysvg-py3
i686-linux python38Packages.pysvg-py3
x86_64-darwin python39Packages.humblewx
i686-linux python38Packages.humblewx
x86_64-darwin python39Packages.pysvg-py3
i686-linux python39Packages.humblewx
x86_64-darwin python38Packages.pysvg-py3
x86_64-darwin timeline
x86_64-linux python38Packages.pysvg-py3
aarch64-linux python38Packages.humblewx