Skip to content

Instantly share code, notes, and snippets.

View jcunews's full-sized avatar

jcunews jcunews

View GitHub Profile
@jcunews
jcunews / siteprefs.json
Last active January 25, 2024 15:25
Opera v36 `siteprefs.json` file. 6454 bytes using LF newlines (UNIX text format). Do not edit as it is digitally signed. In Windows, download as ZIP instead of copy & paste.
// eovJ91qDQW1X0rBxRrkt2HsFBn8GiJk6ka5BpqQfqu7F+2TjWUIo7fcQoqkvbhDxq9ibLWe2XekD41ONsZCH9bbP3TVXPEKT8xfviBYQwoMuqfCJdvAHsXSgpNXhhrhJNzYdvV077d5wyJYc/zdpBxfypA3zHx9UZbCyeZTrOZ2cnesqZ+pHyU3bbGtXRgUdsOffW8AiUwdm/eUfL4DMo3z+JXJ0OevDBn9XFD/wUU6YHJ8ZAXK8OHyK25zwF1+MW6Ov0OoMJL7UawvwzfwL6sJeKF+n3fAW/R0PYjXce0d8pVlUM912g/o6wU5gKbQGkDa+0civY6d9QTQiw8Dcbg==
{
"@encoding": "UTF-8",
"@version": "1.0",
"preferences": {
"config": {
"useragent": [
{
"@value": "Mozilla/5.0 ($PLATFORM) AppleWebKit/537.36 (KHTML, like Gecko) $CHR Safari/537.36",
"@id": "35"
@jcunews
jcunews / for_vs_forEach.html
Last active May 25, 2022 02:13
Simple performance test comparison between `for` and `forEach()` loop. Both loops enumerates an array of 50,000,000 elements for 10 times.
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>for vs forEach</title>
<style>
.columns {
column-count: 2;
}
.report {
@jcunews
jcunews / fif.vbs
Created August 14, 2017 06:15
Firefox Installation Fixer
sub showError(msg)
wscript.echo msg
wscript.quit
end sub
sub help
showError "Firefox Installation Fixer" & vbcrlf & vbcrlf & _
"Usage: fif {old path} {profile} {new path}" & vbcrlf & vbcrlf & _
"e.g.:" & vbcrlf & _
" fif E:\Mozilla\Firefox profiles\john E:\Firefox" & vbcrlf & _
@jcunews
jcunews / opera_skin_images_previewer.html
Created June 16, 2017 22:37
Opera Skin Images Previewer
<html>
<head>
<!--
Copyright (c) 2017, jcunews.
https://www.reddit.com/user/jcunews1/
Licensed under MIT license.
-->
<title>Opera Skin Images Previewer</title>
<style>
body {