Skip to content

Instantly share code, notes, and snippets.

View v0lkan's full-sized avatar
馃幐
totally rocking it 馃殌.

Volkan 脰z莽elik v0lkan

馃幐
totally rocking it 馃殌.
View GitHub Profile
import { create as createDropdownView } from '../dropdown_view';
// I find this usage better than
// `const dropDownView = new DropdownView();
//
// the `create` in `createDropdownView` implies that it is a
// factory function; therefore the consumer will already (rightfully)
// assume that it will return a brand new object whenever it is called.
// And it does so.
const dropdownView = createDropdownView();
@v0lkan
v0lkan / engineer.md
Last active September 23, 2024 10:16
The Evolution of a Software Engineer

This gist outlines the change in the depth and breadth of the tasks and responsibilities of a software engineer as she continuously improves herself.

I created this to supplement a discussion in an internal slack group; then I though the rest of the world might benefit from this too.

Contributions are always welcome.

Junior Engineer

  • Knowledge
@v0lkan
v0lkan / shadow.html
Last active December 23, 2021 22:52
This was how we did drop shadows before CSS box-shadow was widely supported.
<style type="text/css" media="all">
#ContainerShadow {
position:relative;
top:100px;
left:100px;
width:485px;
background:#C9D0DF;
border:1px #878D9B solid;
}
@v0lkan
v0lkan / how-to-write.md
Last active December 24, 2020 15:15
How to Write

This is a copy of this presentation by Michael Covington

Why?

  • People who write are powerful.
  • In science, technology, or management, you influence people by writing things for them to read.
  • Clear writing leads to clear thinking.
  • You don鈥檛 know what you know until you try to express it.
  • If your writing is nonsense, maybe your thoughts are nonsense too!
@v0lkan
v0lkan / app.js
Last active December 7, 2016 03:11
Working on smartface.io
/*
* ____ _ __ _
* / ___| _ __ ___ __ _ _ __| |_ / _| __ _ ___ ___ (_) ___
* \___ \| '_ ` _ \ / _` | '__| __| |_ / _` |/ __/ _ \ | |/ _ \
* ___) | | | | | | (_| | | | |_| _| (_| | (_| __/ _ | | (_) |
* |____/|_| |_| |_|\__,_|_| \__|_| \__,_|\___\___| (_) |_|\___/
* -----------------------------------------------------------------
*/
// #region smartface.io Runtime
@v0lkan
v0lkan / example.js
Created December 18, 2016 22:05
example.js
function exampleFunction() {
for (var i = 0; i < 100000; i++) {
;
}
return 42;
}
for(var j = 0; j < 1000; j++) {
@v0lkan
v0lkan / optimization-trace.txt
Created December 18, 2016 22:16
optimization-trace.txt
[disabled optimization for 0x4a02a4b1 <SharedFunctionInfo SAR>, reason: Call to a JavaScript runtime function]
[disabled optimization for 0x4a029b69 <SharedFunctionInfo ADD>, reason: Call to a JavaScript runtime function]
[disabled optimization for 0x4a029df1 <SharedFunctionInfo SUB>, reason: Call to a JavaScript runtime function]
[disabled optimization for 0x4a029ec9 <SharedFunctionInfo MUL>, reason: Call to a JavaScript runtime function]
[disabled optimization for 0x4a0593d1 <SharedFunctionInfo>, reason: TryCatchStatement]
[disabled optimization for 0x4a056a41 <SharedFunctionInfo FormatMessage>, reason: TryCatchStatement]
[disabled optimization for 0x4a02a589 <SharedFunctionInfo SHR>, reason: Call to a JavaScript runtime function]
[disabled optimization for 0x4a02a6cd <SharedFunctionInfo IN>, reason: Call to a JavaScript runtime function]
[disabled optimization for 0x4a067281 <SharedFunctionInfo NativeModule.require>, reason: Call to a JavaScript runtime function]
[disabled optimization for 0x4a066bc1 <Shar
@v0lkan
v0lkan / optimization-local.txt
Created December 18, 2016 22:18
optimization-local.txt
[disabled optimization for 0x3bc21dc47af1 <SharedFunctionInfo SAR>, reason: Call to a JavaScript runtime function]
[disabled optimization for 0x3bc21dc466b9 <SharedFunctionInfo ADD>, reason: Call to a JavaScript runtime function]
[disabled optimization for 0x3bc21dc47d59 <SharedFunctionInfo SHR>, reason: Call to a JavaScript runtime function]
[disabled optimization for 0x3bc21dc48079 <SharedFunctionInfo IN>, reason: Call to a JavaScript runtime function]
[disabled optimization for 0x3bc21dcc03c9 <SharedFunctionInfo NativeModule.require>, reason: Call to a JavaScript runtime function]
[disabled optimization for 0x3bc21dcbf949 <SharedFunctionInfo NativeModule>, reason: Call to a JavaScript runtime function]
[disabled optimization for 0x3bc21dcc09d1 <SharedFunctionInfo NativeModule.compile>, reason: TryFinallyStatement]
[disabled optimization for 0x3bc21dc473d1 <SharedFunctionInfo BIT_OR>, reason: Call to a JavaScript runtime function]
[disabled optimization for 0x3bc21dcd12d9 <SharedFunctionInfo createBuffer>,
@v0lkan
v0lkan / foo.hs
Created December 21, 2016 23:42
foo.hs
位 help
位 5 + 12
17
:: Num a => a
位 "volkan"
"volkan"
:: [Char]
位 [1,2,3,4]
[1,2,3,4]
:: Num t => [t]
@v0lkan
v0lkan / ado.vbs
Created December 23, 2016 03:41
ado.vbs
<%
' Microsoft ADO
'
' (c) 1996 Microsoft Corporation. All Rights Reserved.
'
' ADO constants include file for VBScript
'---- CursorTypeEnum Values ----
Const adOpenForwardOnly = 0
Const adOpenKeyset = 1