GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — scriptified.dev/lib/sampleIssue.ts at main · hinogi/scriptified.dev Expand file tree/ Copy pathsampleIssue.tsMore file actions 316 lines (314 loc) · 10.5 KB / Copy pathsampleIssue.tsFile metadata and controls316 lines (314 loc) · 10.5 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 /* eslint-disable max-len */ import { IssueAPIResponse } from '../interfaces/api'; const SAMPLE_ISSUE_API_RESPONSE: IssueAPIResponse = { id: 1, dateOfPublishing: '2021-03-06', title: 'The Greatest issue of all time with twelve words and eleven spaces', description: `Something incredible is waiting to be known extraplanetary Jean-François Champollion Apollonius of Perga stirred by starlight rich in mystery. Take root and flourish laws of physics a billion trillion network of wormholes not a sunrise but a galaxyrise dispassionate extraterrestrial observer.`, imgURL: 'https://scriptified.dev/images/issue-1/issue-page-og.jpg', tipOfTheWeek: { id: 1, description: `Sometimes when I'm writing Javascript I want to throw up my hands and say "\`this\` is bullshit!" but I can never remember what "\`this\`" refers to. \n -[Ben](https://twitter.com/bendhalpern/status/578925947245633536?s=20) \n\n[Learn \`this\` in 100 seconds!](https://www.youtube.com/watch?v=YOlr79NaAtQ)`, sourceName: 'Ben', sourceURL: 'https://twitter.com/bendhalpern/status/578925947245633536?s=20', title: 'this is bullshit!', issue: 1, published_at: '2021-04-27T19:02:24.773Z', created_at: '2021-04-27T19:02:22.986Z', updated_at: '2021-05-01T08:19:33.721Z', codeSnippet: { id: 1, code: '#eminem {\n word-spacing: 0;\n}', language: 'css', showLineNumbers: false, }, }, devOfTheWeek: { id: 1, name: 'I Am Devloper', profileImg: 'https://www.placecage.com/c/300/300', bio: 'just your friendly neighbourhood printer fixer', website: null, twitter: 'https://twitter.com/iamdevloper', github: null, youtube: null, linkedin: null, instagram: null, issue: 1, published_at: '2021-05-01T06:35:06.302Z', created_at: '2021-05-01T06:34:49.576Z', updated_at: '2021-05-22T20:02:09.015Z', }, gif: { id: 1, gifURL: 'https://www.placecage.com/gif/200/300', caption: 'a random description about what makes this GIF so great', issue: 1, published_at: '2021-05-01T07:14:14.757Z', created_at: '2021-05-01T07:14:11.107Z', updated_at: '2021-05-22T19:22:39.035Z', }, quiz: { id: 1, question: 'What is the output of the below snippet?', answerId: 1, issue: 1, published_at: '2021-05-01T07:21:23.254Z', created_at: '2021-05-01T07:21:17.911Z', updated_at: '2021-05-01T08:19:33.746Z', Option: [ { id: 1, text: 'I have subscribed to Scriptified already!', description: '`String` is a built-in constructor, which we can add properties to. I just added a method to its prototype. Primitive strings are automatically converted into a string object, generated by the string prototype function. So, all strings (string objects) have access to that method!', option_id: 1, }, { id: 2, text: 'TypeError: not a function', description: "Okay maybe you're onto something! Keep trying", option_id: 2, }, { id: 3, text: 'SyntaxError', description: 'Come on did you really think it would be that obvious :)', option_id: 3, }, { id: 4, text: '`undefined`', description: "Now we both know you're just trying to mess with the options here.", option_id: 4, }, ], CodeSnippet: { id: 6, code: 'String.prototype.subscribeToScriptified = () => {\n return "I have subscribed to Scriptified already!";\n};\nconst newsletter = "Scriptified";\nnewsletter.subscribeToScriptified();\n', language: 'javascript', showLineNumbers: false, }, }, published_at: '2021-04-27T19:13:48.109Z', created_at: '2021-04-27T19:13:46.284Z', updated_at: '2021-05-22T20:02:09.012Z', articles: [ { id: 1, title: 'Brainfuck beware: JavaScript is after you!', url: 'http://patriciopalladino.com/blog/2012/08/09/non-alphanumeric-javascript.html', description: 'I just made a tool to transform any javascript code into an equivalent sequence of `()[]{}!+` characters.', issue: 1, published_at: '2021-04-24T08:54:34.392Z', created_by: 1, updated_by: 1, created_at: '2021-04-24T08:54:30.581Z', updated_at: '2021-05-01T08:19:33.718Z', tags: [ { id: 1, name: 'JavaScript', published_at: '2021-04-24T08:58:10.676Z', created_by: 1, updated_by: 1, created_at: '2021-04-24T08:58:08.220Z', updated_at: '2021-04-24T08:58:10.723Z', }, { id: 6, name: 'WTF', published_at: '2021-04-24T08:59:33.913Z', created_by: 1, updated_by: 1, created_at: '2021-04-24T08:59:31.444Z', updated_at: '2021-04-24T08:59:33.942Z', }, ], authors: [ { id: 1, Name: 'Patricio Palladino', Website: 'http://patriciopalladino.com/', published_at: '2021-04-24T08:55:18.175Z', created_by: 1, updated_by: 1, created_at: '2021-04-24T08:55:15.798Z', updated_at: '2021-04-24T08:55:18.238Z', }, ], }, { id: 2, title: 'What is the best comment in source code you have ever encountered?', url: 'https://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered', description: "This article is an introduction to React for beginners, and provides a bird's eye view with an interactive hands-on experience of writing an actual React component. It should probably be the first post that you should go through before getting familiar with its APIs.", issue: 1, published_at: '2021-04-24T09:01:18.530Z', created_by: 1, updated_by: 1, created_at: '2021-04-24T09:01:16.228Z', updated_at: '2021-05-01T08:19:33.718Z', tags: [ { id: 1, name: '10xProgrammer', published_at: '2021-04-24T08:58:10.676Z', created_by: 1, updated_by: 1, created_at: '2021-04-24T08:58:08.220Z', updated_at: '2021-04-24T08:58:10.723Z', }, ], authors: [ { id: 2, Name: 'Robert Harvey', Website: 'https://twitter.com/lintonye?lang=en', published_at: '2021-04-24T08:55:48.506Z', created_by: 1, updated_by: 1, created_at: '2021-04-24T08:55:45.904Z', updated_at: '2021-04-24T08:56:20.952Z', }, ], }, ], tools: [ { id: 1, name: 'ThanosJS', url: 'https://thanosjs.org/', logo: 'https://www.placecage.com/c/300/300', description: 'Reduce the file size of your project down to 50%, by randomly deleting half of the files.', issue: 1, published_at: '2021-04-27T18:52:28.545Z', created_by: 1, updated_by: 1, created_at: '2021-04-27T18:52:26.954Z', updated_at: '2021-05-22T19:16:16.201Z', authors: [ { id: 3, Name: 'Anand Undavia', Website: 'https://github.com/anandundavia', published_at: '2021-04-24T08:57:37.126Z', created_by: 1, updated_by: 1, created_at: '2021-04-24T08:57:00.689Z', updated_at: '2021-04-24T08:57:37.164Z', }, ], tags: [ { id: 1, name: 'JavaScript', published_at: '2021-04-24T08:58:10.676Z', created_by: 1, updated_by: 1, created_at: '2021-04-24T08:58:08.220Z', updated_at: '2021-04-24T08:58:10.723Z', }, { id: 5, name: 'Optimization', published_at: '2021-04-24T08:59:03.804Z', created_by: 1, updated_by: 1, created_at: '2021-04-24T08:59:01.548Z', updated_at: '2021-04-24T08:59:03.846Z', }, ], }, { id: 2, name: 'fartscroll.js', url: 'http://theonion.github.io/fartscroll.js/', logo: 'https://www.placecage.com/c/300/300', description: 'Everyone farts—men, women, children, dogs, cats—and fartscroll.js can make your website fart too. What this funny JavaScript library actually does is insert fart noises as you scroll.', issue: 1, published_at: '2021-04-27T18:53:18.189Z', created_by: 1, updated_by: 1, created_at: '2021-04-27T18:53:16.262Z', updated_at: '2021-05-22T19:15:14.599Z', authors: [ { id: 4, Name: 'Onion, Inc', Website: 'https://github.com/theonion', published_at: '2021-04-24T08:57:30.553Z', created_by: 1, updated_by: 1, created_at: '2021-04-24T08:57:26.351Z', updated_at: '2021-04-24T08:57:30.590Z', }, ], tags: [ { id: 2, name: 'UX', published_at: '2021-04-24T08:58:23.566Z', created_by: 1, updated_by: 1, created_at: '2021-04-24T08:58:21.103Z', updated_at: '2021-04-24T08:58:23.617Z', }, { id: 3, name: 'JavaScript', published_at: '2021-04-24T08:58:40.517Z', created_by: 1, updated_by: 1, created_at: '2021-04-24T08:58:36.954Z', updated_at: '2021-04-24T08:58:40.557Z', }, ], }, ], talks: [ { id: 1, title: 'What the... JavaScript?', url: 'https://youtu.be/2pL28CcEijU', description: "Kyle Simpson's talk for Forward 2 attempts to “pull out the crazy” from JavaScript. He wants to help you produce cleaner, more elegant, more readable code, then inspire people to contribute to the open source community.", issue: 1, published_at: '2021-04-27T18:46:26.278Z', created_by: 1, updated_by: 1, created_at: '2021-04-27T18:46:24.486Z', updated_at: '2021-05-01T08:19:33.733Z', tags: [ { id: 7, name: 'Best Practices', published_at: '2021-04-24T08:59:47.332Z', created_by: 1, updated_by: 1, created_at: '2021-04-24T08:59:45.423Z', updated_at: '2021-04-24T08:59:47.384Z', }, ], authors: [ { id: 20, Name: 'Kyle Simpson', Website: 'https://me.getify.com/', published_at: '2021-04-27T15:17:57.506Z', created_by: 1, updated_by: 1, created_at: '2021-04-27T15:17:55.661Z', updated_at: '2021-04-27T15:17:57.673Z', }, ], }, ], }; export default SAMPLE_ISSUE_API_RESPONSE; |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |