This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// extension for jQuery | |
(function (root) { | |
if (root.Enumerable == null) { | |
throw new Error("can't find Enumerable. linq.jquery.js must load after linq.js"); | |
} | |
if (root.jQuery == null) { | |
throw new Error("can't find jQuery. linq.jquery.js must load after jQuery"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
<permission | |
android:name="android.permission.INTERACT_ACROSS_USERS_FULL" | |
android:protectionLevel="signature" /> | |
... | |
<activity android:name=".UnlockScreenActivity" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<meta name="author" content=""> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^(?!(SocketClient|DeviceStorageMonitorService|libc-netbsd|wpa_supplicant|EnterpriseController|Netd|BufferQueueProducer|SurfaceFlinger|NetworkController|memtrack_graphic|ConnectivityService|MARsPolicyManager|MARsDBManager|SSRM|Clock|DateView|SSRM|BatteryService|Watchdog|NetlinkEvent|AlarmManager|KeyguardUpdateMonitor|arqp|armt|SignalClusterView|GameManagerService|PowerUI|MotionRecognitionService|ContactsProvider_EventLog|Tzdaemon|TLC_TIMA_PKM_measure_kernel|BroadcastQueue|BatteryMeterView|SensorManager|Sensors|PowerManagerService|BatteryStatsImpl|BarTender|Authzen|AbsListView|ViewRootImpl|InputDispatcher|PointerIcon|PhoneStatusBar|StatusBarManagerService|BufferQueue|BufferQueueConsumer|Surface|mali_winsys|GraphicBuffer|AbsListView|bt_btm)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
globals: { | |
'ts-jest': { | |
tsConfigFile: 'tsconfig.json' | |
} | |
}, | |
moduleFileExtensions: [ | |
'ts', | |
'js' | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.clear(); | |
var Track = function(attrs) { | |
this.icon = (attrs && attrs.icon || 'play_arrow'); | |
this.toggle = (attrs && attrs.toggle || 'close'); | |
this.arrow = (attrs && attrs.arrow || 'keyboard_arrow_down'); | |
this.toObject = function() { | |
var newObject = {}; | |
for (var prop in this) { | |
if (this.hasOwnProperty(prop) && typeof this[prop] !== 'function') { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Movie { | |
constructor() { | |
this.title = ''; | |
} | |
getTitle() { | |
return this.title; | |
} | |
setTitle(title) { | |
this.title = title; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ul { margin: 0; padding: 0; } | |
ul li { list-style: none; margin-bottom: 8px; } | |
hr { border: 0; border-top: solid 1px #d9d9d9; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.clear(); | |
var data = []; | |
for (var i = 1; i <= 15; i++) { | |
var uuid = faker.random.uuid(); | |
data.push({ | |
id: i, | |
name: faker.name.findName(), | |
email: faker.internet.email(), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
console.clear() | |
const a = () => { | |
return Promise.resolve({ value: 'a' }) | |
} | |
const b = () => { | |
return Promise.resolve({ value: 'b' }) | |
} |
NewerOlder