Skip to content

Instantly share code, notes, and snippets.

View Roeefl's full-sized avatar

Roeefl Roeefl

View GitHub Profile
@Roeefl
Roeefl / gist:f415a214320f585d31ecd45065d6fa2e
Created April 15, 2024 15:58
react-timezone-select: list of timezones
[
{
"value": "Pacific/Midway",
"label": "(GMT-11:00) Midway Island, Samoa",
"offset": -11,
"abbrev": "SST",
"altName": "Samoa Standard Time"
},
{
"value": "Pacific/Honolulu",
@Roeefl
Roeefl / timezones_diff.ts
Created April 14, 2024 13:29
timezones from pytz package vs moment-timezone package
const pytz_timezones = [
'Africa/Abidjan',
'Africa/Accra',
'Africa/Addis_Ababa',
'Africa/Algiers',
'Africa/Asmara',
'Africa/Asmera',
'Africa/Bamako',
'Africa/Bangui',
'Africa/Banjul',
@Roeefl
Roeefl / ForkedContentLoader.tsx
Created March 4, 2024 16:33
ForkedContentLoader.tsx
/* eslint-disable */
import * as React from 'react';
/**
* @SEE:
* Breaking change for animations for linear-gradient in this Chromium update:
* https://chromium.googlesource.com/chromium/src/+/a1f3b8804d221a3c503224c6b558eb19df29e9a0
*
* Github PR/issue:
* https://github.com/danilowoz/react-content-loader/issues/316
@Roeefl
Roeefl / ForkedContentLoader.tsx
Created March 4, 2024 16:33
ForkedContentLoader.tsx
/* eslint-disable */
import * as React from 'react';
/**
* @SEE:
* Breaking change for animations for linear-gradient in this Chromium update:
* https://chromium.googlesource.com/chromium/src/+/a1f3b8804d221a3c503224c6b558eb19df29e9a0
*
* Github PR/issue:
* https://github.com/danilowoz/react-content-loader/issues/316
@Roeefl
Roeefl / ForkedContentLoader.svg
Created March 4, 2024 16:32
ForkedContentLoader.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
const doIt = (a, b, c) => {
a++;
b.push('baz');
c.key = 'other value';
};
const x = 5;
const y = ['foo', 'bar'];
const z = { key: 'some value' };
@Roeefl
Roeefl / Minimal flash overlay
Created March 23, 2017 01:12
Minimal flash overlay
<div id="missing_flash_overlay">
<div id="missing_flash_overlay_content">
<img id="missing_flash_img" src="http://yo-yoo.co.il/games/img/flash-player-missing.jpg" alt="missing flash player" />
</div>
</div>
<script src="js/load-swf.js"></script>