Skip to content

Instantly share code, notes, and snippets.

⌨️
God is a coder

Roy Segall RoySegall

⌨️
God is a coder
Block or report user

Report or block RoySegall

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gmail_messages.json
[{"id": "16c057fea8f53620", "threadId": "16c057feaa55a17a", "labelIds": ["UNREAD", "IMPORTANT", "SENT", "INBOX"], "snippet": "Did not open this one yet", "historyId": "1493258", "internalDate": "1563460354000", "payload": {"partId": "", "mimeType": "multipart/alternative", "filename": "", "headers": [{"name": "MIME-Version", "value": "1.0"}, {"name": "Date", "value": "Thu, 18 Jul 2019 17:32:34 +0300"}, {"name": "Message-ID", "value": "<CACq5172xEcosR8w1CbbXa7H05S03mVyHci8f+=Lx0PvJvsLnSg@mail.gmail.com>"}, {"name": "Subject", "value": "This message not read"}, {"name": "From", "value": "Roy Segall <roy@segall.io>"}, {"name": "To", "value": "Roy Segall <roy@segall.io>"}, {"name": "Content-Type", "value": "multipart/alternative; boundary=\"000000000000b0a0f7058df57b2c\""}], "body": {"size": 0}, "parts": [{"partId": "0", "mimeType": "text/plain", "filename": "", "headers": [{"name": "Content-Type", "value": "text/plain; charset=\"UTF-8\""}], "body": {"size": 27, "data": "RGlkIG5vdCBvcGVuIHRoaXMgb25lIHlldA0K"}}, {
View failed.json
[{'file': 'foo', 'error': 'bar'}, {'file': '/Applications/MAMP/htdocs/open_pension/processor/source_files/השלמות/512065202_g948_0118.xlsx', 'error': TypeError("error() missing 1 required positional argument: 'msg'",)}, {'file': '/Applications/MAMP/htdocs/open_pension/processor/source_files/השלמות/רשימת-נכסים-2015-Q3 (2).xlsx', 'error': TypeError("error() missing 1 required positional argument: 'msg'",)}, {'file': '/Applications/MAMP/htdocs/open_pension/processor/source_files/השלמות/reshimat_nechasim_tagmulim_Q2_2015.xlsx', 'error': TypeError("error() missing 1 required positional argument: 'msg'",)}, {'file': '/Applications/MAMP/htdocs/open_pension/processor/source_files/השלמות/11373 (4)(1).xls', 'error': TypeError("error() missing 1 required positional argument: 'msg'",)}, {'file': '/Applications/MAMP/htdocs/open_pension/processor/source_files/השלמות/9639 (2) (1).xls', 'error': TypeError("error() missing 1 required positional argument: 'msg'",)}, {'file': '/Applications/MAMP/htdocs/open_pension/processor/sou
View LandingPage.vue
<template>
<div id="wrapper">
<main>
<b>Welcome!</b>
<ul>
<li v-for="file in files">{{file}}</li>
</ul>
</main>
</div>
View index-ready-event.js
function createWindow () {
/**
* Initial window options
*/
mainWindow = new BrowserWindow({
height: 563,
useContentSize: true,
width: 1000,
webPreferences: {
nodeIntegration: true,
View index-open-file-section.js
import fs from 'fs';
const files = [];
app.on('open-file', (event, path) => {
files.push(path);
});
View LandingPage.vue
<template>
<div id="wrapper">
<main>
<b>Welcome!</b>
</main>
</div>
</template>
<script>
export default {
View into.sh
npm install -g vue-cli
vue init simulatedgreg/electron-vue open-with
cd open-with
npm i # Or yarn install
npm run dev # Or yarn run dev
View open_pension_d3_graph.json
[
{
"ערך נקוב****" : "126424.45",
"Investment" : "מניות",
"שעור מערך נקוב מונפק" : "0.0001",
"ישראל" : true,
"שם המנפיק/שם נייר ערך" : "כיל- כיל",
"שווי שוק" : "2111.288315",
"ענף מסחר" : "כימיה, גומי ופלסטיק",
"שעור מנכסי אפיק ההשקעה" : "0.02737458208271014",
View docker-compose.yml
version: "3"
volumes:
db-data:
external: false
services:
database:
image: postgres
volumes:
View yaniv_tingach_facebook.json
This file has been truncated, but you can view the full file.
{
"_index": "pizza_pine_apple",
"_type": "doc",
"_id": "dtvTlmYBz2EokBBzWRDV",
"_version": 4100,
"found": true,
"_source": {
"names": [
{
You can’t perform that action at this time.