text stringlengths 9 39.2M | dir stringlengths 25 226 | lang stringclasses 163
values | created_date timestamp[s] | updated_date timestamp[s] | repo_name stringclasses 751
values | repo_full_name stringclasses 752
values | star int64 1.01k 183k | len_tokens int64 1 18.5M |
|---|---|---|---|---|---|---|---|---|
```unknown
/* Translation-Revision-Date: 2024-08-06 11:54:03+0000 */
/* Plural-Forms: nplurals=1; plural=0; */
/* Generator: GlotPress/2.4.0-alpha */
/* Language: zh_CN */
/* No comment provided by engineer. */
"%d Result" = "%d ";
/* Number of found search results */
"%d Results" = "%d ";
/* Number of failed entrie... | /content/code_sandbox/Simplenote/zh-Hans-CN.lproj/Localizable.strings | unknown | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 6,679 |
```unknown
/* Translation-Revision-Date: 2024-08-07 12:54:03+0000 */
/* Plural-Forms: nplurals=2; plural=n > 1; */
/* Generator: GlotPress/2.4.0-alpha */
/* Language: fr */
/* No comment provided by engineer. */
"%d Result" = "%d rsultats";
/* Number of found search results */
"%d Results" = "%d rsultats";
/* Number... | /content/code_sandbox/Simplenote/fr.lproj/Localizable.strings | unknown | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 9,382 |
```gettext catalog
# Translation of Release Notes & Apple Store Description in English (US)
# This file is distributed under the same license as the Release Notes & Apple Store Description package.
msgid ""
msgstr ""
"PO-Revision-Date: 2019-06-18 17:30-0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UT... | /content/code_sandbox/Simplenote/Resources/AppStoreStrings.pot | gettext catalog | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 847 |
```css
html {
background: #FFFFFF;
color: #111111;
}
::-webkit-scrollbar-thumb {
background: #84878a;
}
.note-detail-markdown a {
color: #3361cc;
}
.note-detail-markdown hr {
color: #4895d9;
}
.note-detail-markdown code {
color: #899199;
}
.note-detail-markdown pre {
background: #f6f7f... | /content/code_sandbox/Simplenote/Resources/markdown-light.css | css | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 164 |
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeOtherDiagnosticData</string>
<key>... | /content/code_sandbox/Simplenote/Resources/PrivacyInfo.xcprivacy | unknown | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 917 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17156" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initi... | /content/code_sandbox/Simplenote/Resources/LaunchScreen.storyboard | xml | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 724 |
```css
/* Accessibility high contrast blue */
.note-detail-markdown a {
color: #85aaff !important;
}
``` | /content/code_sandbox/Simplenote/Resources/markdown-dark-contrast.css | css | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 25 |
```css
/* Accessibility high contrast blue */
.note-detail-markdown a {
color: #284da2 !important;
}
``` | /content/code_sandbox/Simplenote/Resources/markdown-default-contrast.css | css | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 25 |
```css
html {
background: 1f2123;
color: #DDDDDD;
}
::-webkit-scrollbar-thumb {
background: #84878a;
}
.note-detail-markdown a {
color: #618df2;
}
.note-detail-markdown hr {
color: #4895d9;
}
.note-detail-markdown code {
color: #84878a;
}
.note-detail-markdown pre {
background: #002b36;... | /content/code_sandbox/Simplenote/Resources/markdown-dark.css | css | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 160 |
```css
@charset "UTF-8";
* , body {
margin: 0;
padding: 0;
}
body {
background: transparent;
}
img {
border: 0;
}
* :focus {
outline: none;
}
html {
margin: 0;
padding: 0;
text-rendering: optimizeLegibility;
}
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
... | /content/code_sandbox/Simplenote/Resources/markdown-default.css | css | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 1,051 |
```unknown
/* Translation-Revision-Date: 2024-08-06 21:54:03+0000 */
/* Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5; */
/* Generator: GlotPress/2.4.0-alpha */
/* Language: ar */
/* No comment provided by engineer. */
"%d Result" = "%d ";... | /content/code_sandbox/Simplenote/ar.lproj/Localizable.strings | unknown | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 7,215 |
```unknown
/* Translation-Revision-Date: 2024-08-07 09:54:03+0000 */
/* Plural-Forms: nplurals=2; plural=n > 1; */
/* Generator: GlotPress/2.4.0-alpha */
/* Language: id */
/* No comment provided by engineer. */
"%d Result" = "%d Hasil";
/* Number of found search results */
"%d Results" = "%d Hasil";
/* Number of fa... | /content/code_sandbox/Simplenote/id.lproj/Localizable.strings | unknown | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 9,388 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orienta... | /content/code_sandbox/Simplenote/Verification/AccountVerificationViewController.xib | xml | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 3,136 |
```swift
import Foundation
import SimplenoteEndpoints
// MARK: - AccountVerificationController
//
@objc
class AccountVerificationController: NSObject {
/// Possible verification states
///
enum State {
case unknown
case unverified
case verificationInProgress
case verified
... | /content/code_sandbox/Simplenote/Verification/AccountVerificationController.swift | swift | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 392 |
```swift
import UIKit
// MARK: - AccountVerificationViewController
//
class AccountVerificationViewController: UIViewController {
/// Configuration
///
struct Configuration: Equatable {
static let review = Configuration(iconName: .warning,
title: Localizat... | /content/code_sandbox/Simplenote/Verification/AccountVerificationViewController.swift | swift | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 2,028 |
```unknown
/* Translation-Revision-Date: 2024-08-06 19:54:04+0000 */
/* Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2); */
/* Generator: GlotPress/2.4.0-alpha */
/* Language: ru */
/* No comment provided by engineer. */
"%d Result" = "%d ";
/* Numbe... | /content/code_sandbox/Simplenote/ru.lproj/Localizable.strings | unknown | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 7,209 |
```unknown
/* Translation-Revision-Date: 2024-08-08 11:54:02+0000 */
/* Plural-Forms: nplurals=2; plural=n != 1; */
/* Generator: GlotPress/2.4.0-alpha */
/* Language: sv_SE */
/* No comment provided by engineer. */
"%d Result" = "%d resultat";
/* Number of found search results */
"%d Results" = "%d resultat";
/* Nu... | /content/code_sandbox/Simplenote/sv.lproj/Localizable.strings | unknown | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 9,613 |
```swift
import UIKit
// MARK: - NoteEditorTagListViewControllerDelegate
//
protocol NoteEditorTagListViewControllerDelegate: AnyObject {
func tagListDidUpdate(_ tagList: NoteEditorTagListViewController)
func tagListIsEditing(_ tagList: NoteEditorTagListViewController)
}
// MARK: - NoteEditorTagListViewContro... | /content/code_sandbox/Simplenote/Tags/NoteEditorTagListViewController.swift | swift | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 1,323 |
```swift
import UIKit
// MARK: - NoteEditorTagSuggestionsViewController
//
class NoteEditorTagSuggestionsViewController: UIViewController {
@IBOutlet private weak var tableView: HuggableTableView! {
didSet {
tableView.register(Value1TableViewCell.self, forCellReuseIdentifier: Value1TableViewCel... | /content/code_sandbox/Simplenote/Tags/NoteEditorTagSuggestionsViewController.swift | swift | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 655 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orienta... | /content/code_sandbox/Simplenote/Tags/NoteEditorTagListViewController.xib | xml | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 891 |
```unknown
/* Translation-Revision-Date: 2024-08-07 17:54:03+0000 */
/* Plural-Forms: nplurals=2; plural=(n > 1); */
/* Generator: GlotPress/2.4.0-alpha */
/* Language: pt_BR */
/* No comment provided by engineer. */
"%d Result" = "%d resultado";
/* Number of found search results */
"%d Results" = "%d resultados";
/... | /content/code_sandbox/Simplenote/pt-BR.lproj/Localizable.strings | unknown | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 9,297 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orienta... | /content/code_sandbox/Simplenote/Tags/NoteEditorTagSuggestionsViewController.xib | xml | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 976 |
```unknown
/* Translation-Revision-Date: 2023-01-03 11:55:41+0000 */
/* Plural-Forms: nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3; */
/* Generator: GlotPress/2.4.0-alpha */
/* Language: cy_GB */
/* No comment provided by engineer. */
"%d Result" = "%d Canlyniad";
/* Number of found search... | /content/code_sandbox/Simplenote/cy.lproj/Localizable.strings | unknown | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 2,631 |
```swift
import Foundation
@objc
class PublishController: NSObject {
private var observedNotes = [String: Note]()
var onUpdate: ((Note) -> Void)?
func updatePublishState(for note: Note, to published: Bool) {
if note.published == published {
return
}
changePublishState(... | /content/code_sandbox/Simplenote/Controllers/PublishController.swift | swift | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 416 |
```swift
import Foundation
import SimplenoteEndpoints
@objc
class AccountDeletionController: NSObject {
private var accountDeletionRequestDate: Date?
var hasValidDeletionRequest: Bool {
guard let expirationDate = accountDeletionRequestDate?.increased(byDays: 1) else {
return false
... | /content/code_sandbox/Simplenote/Controllers/AccountDeletionController.swift | swift | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 179 |
```swift
import Foundation
// MARK: - VersionsController
//
class VersionsController: NSObject {
private let bucket: SPBucket
/// Map of event listeners.
///
private let callbackMap = NSMapTable<NSString, ListenerWrapper>(keyOptions: .copyIn, valueOptions: .weakMemory)
/// Designated Initializer
... | /content/code_sandbox/Simplenote/Controllers/VersionsController.swift | swift | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 757 |
```swift
import Foundation
class PublishNoticePresenter {
static func presentNotice(for note: Note) {
switch note.publishState {
case .publishing:
NoticeController.shared.present(NoticeFactory.publishing())
SPTracker.trackPresentedNotice(ofType: .publishing)
case .pu... | /content/code_sandbox/Simplenote/Controllers/PublishNoticePresenter.swift | swift | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 265 |
```swift
import WidgetKit
import Intents
struct WidgetController {
@available(iOS 14.0, *)
static func resetWidgetTimelines() {
WidgetCenter.shared.getCurrentConfigurations { result in
guard case .success(let widgets) = result else {
return
}
if widg... | /content/code_sandbox/Simplenote/Controllers/WidgetController.swift | swift | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 260 |
```unknown
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>_XCCurrentVersionName</key>
<string>Simplenote 7.xcdatamodel</string>
</dict>
</plist>
``` | /content/code_sandbox/Simplenote/Simplenote.xcdatamodeld/.xccurrentversion | unknown | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 81 |
```unknown
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="14315.12.1" systemVersion="18A389" minimumToolsVersion="Xcode 7.3" sourceLanguage="Objective-C" userDefinedModelVersionIdentifier="">
<entity name="Not... | /content/code_sandbox/Simplenote/Simplenote.xcdatamodeld/Simplenote 4.xcdatamodel/contents | unknown | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 1,279 |
```unknown
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model userDefinedModelVersionIdentifier="" type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="3389" systemVersion="12E55" minimumToolsVersion="Automatic" macOSVersion="Automatic" iOSVersion="Automatic">
<enti... | /content/code_sandbox/Simplenote/Simplenote.xcdatamodeld/Simplenote 2.xcdatamodel/contents | unknown | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 806 |
```unknown
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="15508" systemVersion="19B88" minimumToolsVersion="Xcode 7.3" sourceLanguage="Objective-C" userDefinedModelVersionIdentifier="">
<entity name="Note" rep... | /content/code_sandbox/Simplenote/Simplenote.xcdatamodeld/Simplenote 5.xcdatamodel/contents | unknown | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 1,303 |
```unknown
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model userDefinedModelVersionIdentifier="" type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="6751" systemVersion="14C1510" minimumToolsVersion="Automatic" macOSVersion="Automatic" iOSVersion="Automatic">
<en... | /content/code_sandbox/Simplenote/Simplenote.xcdatamodeld/Simplenote 3.xcdatamodel/contents | unknown | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 1,072 |
```unknown
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="22757" systemVersion="23E214" minimumToolsVersion="Xcode 7.3" sourceLanguage="Objective-C" userDefinedModelVersionIdentifier="">
<entity name="Note" re... | /content/code_sandbox/Simplenote/Simplenote.xcdatamodeld/Simplenote 7.xcdatamodel/contents | unknown | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 1,266 |
```unknown
/* Translation-Revision-Date: 2024-08-08 11:54:02+0000 */
/* Plural-Forms: nplurals=2; plural=n != 1; */
/* Generator: GlotPress/2.4.0-alpha */
/* Language: es */
/* No comment provided by engineer. */
"%d Result" = "%d Resultados";
/* Number of found search results */
"%d Results" = "%d Palabra";
/* Numb... | /content/code_sandbox/Simplenote/es.lproj/Localizable.strings | unknown | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 9,374 |
```unknown
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="21279" systemVersion="22A380" minimumToolsVersion="Xcode 7.3" sourceLanguage="Objective-C" userDefinedModelVersionIdentifier="">
<entity name="Note" re... | /content/code_sandbox/Simplenote/Simplenote.xcdatamodeld/Simplenote 6.xcdatamodel/contents | unknown | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 1,241 |
```unknown
/* Translation-Revision-Date: 2019-11-22 16:18:55+0000 */
/* Plural-Forms: nplurals=2; plural=n != 1; */
/* Generator: GlotPress/2.4.0-alpha */
/* Language: el_GR */
/* No comment provided by engineer. */
"%d Result" = "%d ";
/* Number of found search results */
"%d Results" = "%d ";
/* Number of failed e... | /content/code_sandbox/Simplenote/el.lproj/Localizable.strings | unknown | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 1,213 |
```unknown
/* Translation-Revision-Date: 2024-08-07 09:54:02+0000 */
/* Plural-Forms: nplurals=1; plural=0; */
/* Generator: GlotPress/2.4.0-alpha */
/* Language: zh_TW */
/* No comment provided by engineer. */
"%d Result" = "%d ";
/* Number of found search results */
"%d Results" = "%d ";
/* Number of failed entrie... | /content/code_sandbox/Simplenote/zh-Hant-TW.lproj/Localizable.strings | unknown | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 6,683 |
```unknown
/* Translation-Revision-Date: 2024-08-07 09:54:03+0000 */
/* Plural-Forms: nplurals=2; plural=n != 1; */
/* Generator: GlotPress/2.4.0-alpha */
/* Language: de */
/* No comment provided by engineer. */
"%d Result" = "%d Ergebnis";
/* Number of found search results */
"%d Results" = "%d Ergebnisse";
/* Num... | /content/code_sandbox/Simplenote/de.lproj/Localizable.strings | unknown | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 9,720 |
```c
#include "context_test.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
/********************
* GENERIC RENDERER *
********************/
static void
rndr_blockcode(hoedown_buffer *ob, const hoedown_buffer *text, const hoedown_buffer *lang, const hoedown_buffer *attr, const hoed... | /content/code_sandbox/External/Hoextdown/context_test.c | c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 2,883 |
```unknown
/* Translation-Revision-Date: 2024-08-07 15:54:03+0000 */
/* Plural-Forms: nplurals=2; plural=(n > 1); */
/* Generator: GlotPress/2.4.0-alpha */
/* Language: tr */
/* No comment provided by engineer. */
"%d Result" = "%d Sonu";
/* Number of found search results */
"%d Results" = "%d Sonu";
/* Number of fa... | /content/code_sandbox/Simplenote/tr.lproj/Localizable.strings | unknown | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 9,609 |
```objective-c
/* hash.h - generic markdown parser */
#ifndef HOEDOWN_HASH_H
#define HOEDOWN_HASH_H
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct hoedown_hash_item hoedown_hash_item;
typedef struct hoedown_hash hoedown_hash;
typedef void (hoedown_hash_value_destruct) (void *data);
struct... | /content/code_sandbox/External/Hoextdown/hash.h | objective-c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 253 |
```c
#include "escape.h"
#include <assert.h>
#include <stdio.h>
#include <string.h>
#define likely(x) __builtin_expect((x),1)
#define unlikely(x) __builtin_expect((x),0)
/*
* The following characters will not be escaped:
*
* -_.+!*'(),%#@?=;:/,+&$ alphanum
*
* Note that this character set is the ad... | /content/code_sandbox/External/Hoextdown/escape.c | c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 2,593 |
```c
#include "stack.h"
#include "buffer.h"
#include <stdlib.h>
#include <string.h>
#include <assert.h>
void
hoedown_stack_init(hoedown_stack *st, size_t initial_size)
{
assert(st);
st->item = NULL;
st->size = st->asize = 0;
if (!initial_size)
initial_size = 8;
hoedown_stack_grow(st, initial_size);
}
void... | /content/code_sandbox/External/Hoextdown/stack.c | c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 382 |
```c
#include "autolink.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#ifndef _MSC_VER
#include <strings.h>
#else
#define strncasecmp _strnicmp
#endif
int
hoedown_autolink_is_safe(const uint8_t *data, size_t size)
{
static const size_t valid_uris_count = 6;
static const char *val... | /content/code_sandbox/External/Hoextdown/autolink.c | c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 1,763 |
```objective-c
/* html.h - HTML renderer and utilities */
#ifndef HOEDOWN_HTML_H
#define HOEDOWN_HTML_H
#include "document.h"
#include "buffer.h"
#include "hash.h"
#ifdef __cplusplus
extern "C" {
#endif
/*************
* CONSTANTS *
*************/
typedef enum hoedown_html_flags {
HOEDOWN_HTML_SKIP_HTML = (1 <<... | /content/code_sandbox/External/Hoextdown/html.h | objective-c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 612 |
```objective-c
/* context_test.h - context test renderer used to test parser state functions */
#ifndef CONTEXT_TEST_H
#define CONTEXT_TEST_H
#include "document.h"
#include "buffer.h"
#include "hash.h"
#ifdef __cplusplus
extern "C" {
#endif
/*********
* TYPES *
*********/
struct hoedown_context_test_renderer_st... | /content/code_sandbox/External/Hoextdown/context_test.h | objective-c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 182 |
```c
#include "hash.h"
#include <stdlib.h>
#include <string.h>
#define HOEDOWN_HASH_ITEM_SIZE 255
#define HOEDOWN_HASH_FNV_PRIME 0x01000193
#define HOEDOWN_HASH_FNV_OFFSET_BASIS 0x811c9dc5
static char *
hoedown_hash_strndup(const char* str, size_t n)
{
if (str) {
char *s = (char *)malloc(sizeof(char) * (... | /content/code_sandbox/External/Hoextdown/hash.c | c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 1,267 |
```objective-c
/* document.h - generic markdown parser */
#ifndef HOEDOWN_DOCUMENT_H
#define HOEDOWN_DOCUMENT_H
#include "buffer.h"
#include "autolink.h"
#ifdef __cplusplus
extern "C" {
#endif
/*************
* CONSTANTS *
*************/
/* Next offset: 22 */
typedef enum hoedown_extensions {
/* block-level ext... | /content/code_sandbox/External/Hoextdown/document.h | objective-c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 3,308 |
```objective-c
/* autolink.h - versatile autolinker */
#ifndef HOEDOWN_AUTOLINK_H
#define HOEDOWN_AUTOLINK_H
#include "buffer.h"
#ifdef __cplusplus
extern "C" {
#endif
/*************
* CONSTANTS *
*************/
typedef enum hoedown_autolink_flags {
HOEDOWN_AUTOLINK_SHORT_DOMAINS = (1 << 0)
} hoedown_autolink_... | /content/code_sandbox/External/Hoextdown/autolink.h | objective-c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 350 |
```objective-c
/* buffer.h - simple, fast buffers */
#ifndef HOEDOWN_BUFFER_H
#define HOEDOWN_BUFFER_H
#include <stdio.h>
#include <stddef.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdlib.h>
#ifdef __cplusplus
extern "C" {
#endif
#if defined(_MSC_VER)
#define __attribute__(x)
#define inline __inline
#def... | /content/code_sandbox/External/Hoextdown/buffer.h | objective-c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 1,218 |
```objective-c
/* stack.h - simple stacking */
#ifndef HOEDOWN_STACK_H
#define HOEDOWN_STACK_H
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
/*********
* TYPES *
*********/
struct hoedown_stack {
void **item;
size_t size;
size_t asize;
};
typedef struct hoedown_stack hoedown_stack;
/**********... | /content/code_sandbox/External/Hoextdown/stack.h | objective-c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 298 |
```c
#include "buffer.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
void *
hoedown_malloc(size_t size)
{
void *ret = malloc(size);
if (!ret) {
fprintf(stderr, "Allocation failed.\n");
abort();
}
return ret;
}
void *
hoedown_calloc(size_t nmemb, size_t size)
{
void *ret ... | /content/code_sandbox/External/Hoextdown/buffer.c | c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 1,944 |
```c
#include "html.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include "escape.h"
#include "hash.h"
#ifdef _MSC_VER
#define strncasecmp _strnicmp
#endif
#define USE_XHTML(opt) (opt->flags & HOEDOWN_HTML_USE_XHTML)
#define USE_TASK_LIST(opt) (opt->flags & HOEDOWN_HTML_USE_TA... | /content/code_sandbox/External/Hoextdown/html.c | c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 9,673 |
```c
#include "html.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#ifdef _MSC_VER
#define snprintf _snprintf
#endif
struct smartypants_data {
int in_squote;
int in_dquote;
};
static size_t smartypants_cb__ltag(hoedown_buffer *ob, struct smartypants_data *smrt, uint8_t previous_c... | /content/code_sandbox/External/Hoextdown/html_smartypants.c | c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 4,881 |
```objective-c
/* escape.h - escape utilities */
#ifndef HOEDOWN_ESCAPE_H
#define HOEDOWN_ESCAPE_H
#include "buffer.h"
#ifdef __cplusplus
extern "C" {
#endif
/*************
* FUNCTIONS *
*************/
/* hoedown_escape_href: escape (part of) a URL inside HTML */
void hoedown_escape_href(hoedown_buffer *ob, con... | /content/code_sandbox/External/Hoextdown/escape.h | objective-c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 141 |
```c
/* ANSI-C code produced by gperf version 3.0.3 */
/* Command-line: gperf -L ANSI-C -N hoedown_find_block_tag -c -C -E -S 1 --ignore-case -m100 html_block_names.gperf */
/* Computed positions: -k'1-2' */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
&& ('%' == 37) && ('&' == 38) && ('\'' ... | /content/code_sandbox/External/Hoextdown/html_blocks.c | c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 3,485 |
```c
#include "version.h"
void
hoedown_version(int *major, int *minor, int *revision, int *extras)
{
*major = HOEDOWN_VERSION_MAJOR;
*minor = HOEDOWN_VERSION_MINOR;
*revision = HOEDOWN_VERSION_REVISION;
*extras = HOEDOWN_VERSION_EXTRAS;
}
``` | /content/code_sandbox/External/Hoextdown/version.c | c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 73 |
```c
/* ANSI-C code produced by gperf version 3.0.4 */
/* Command-line: gperf -L ANSI-C -N hoedown_find_html5_block_tag -c -C -E -S 1 --ignore-case -m100 html5_block_names.gperf */
/* Computed positions: -k'1-2' */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
&& ('%' == 37) && ('&' == 38) &&... | /content/code_sandbox/External/Hoextdown/html5_blocks.c | c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 3,670 |
```objective-c
/* version.h - holds Hoedown's version */
#ifndef HOEDOWN_VERSION_H
#define HOEDOWN_VERSION_H
#ifdef __cplusplus
extern "C" {
#endif
/*************
* CONSTANTS *
*************/
#define HOEDOWN_VERSION "3.0.7.15"
#define HOEDOWN_VERSION_MAJOR 3
#define HOEDOWN_VERSION_MINOR 0
#define HOEDOWN_VERSIO... | /content/code_sandbox/External/Hoextdown/version.h | objective-c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 156 |
```swift
import ScreenObject
import XCTest
public class PasscodeScreen: ScreenObject {
public init(app: XCUIApplication = XCUIApplication()) throws {
try super.init(
expectedElementGetters: [ { $0.staticTexts["1"].firstMatch }, { $0.staticTexts["4"].firstMatch }, { $0.staticTexts["7"].firstMat... | /content/code_sandbox/UITestsFoundation/PasscodeScreen.swift | swift | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 266 |
```swift
import XCTest
extension XCUIApplication {
public func assertLabelExists(
withText text: String,
timetout: TimeInterval = 5.0,
file: StaticString = #file,
line: UInt = #line
) {
XCTAssertTrue(
staticTexts[text].waitForExistence(timeout: timetout),
... | /content/code_sandbox/UITestsFoundation/XCUIApplication+Assertions.swift | swift | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 101 |
```objective-c
#import <Foundation/Foundation.h>
FOUNDATION_EXPORT double UITestsFoundationVersionNumber;
FOUNDATION_EXPORT const unsigned char UITestsFoundationVersionString[];
``` | /content/code_sandbox/UITestsFoundation/UITestsFoundation.h | objective-c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 27 |
```c
#include "document.h"
#include <assert.h>
#include <string.h>
#include <ctype.h>
#include <stdio.h>
#include "stack.h"
#ifndef _MSC_VER
#include <strings.h>
#else
#define strncasecmp _strnicmp
#endif
#define REF_TABLE_SIZE 8
#define BUFFER_BLOCK 0
#define BUFFER_SPAN 1
#define BUFFER_ATTRIBUTE 2
const char *... | /content/code_sandbox/External/Hoextdown/document.c | c | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 34,150 |
```batchfile
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%... | /content/code_sandbox/CarouselLayoutManager/gradlew.bat | batchfile | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 632 |
```ini
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# path_to_url
# Specifies the JVM arguments used for the daemon process.
# ... | /content/code_sandbox/CarouselLayoutManager/gradle.properties | ini | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 197 |
```ini
#Mon Jan 18 09:06:02 NOVT 2021
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
``` | /content/code_sandbox/CarouselLayoutManager/gradle/wrapper/gradle-wrapper.properties | ini | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 74 |
```qmake
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in C:\Users\Mikhail\Documents\tools\android_sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For mor... | /content/code_sandbox/CarouselLayoutManager/carousellayoutmanager/proguard-rules.pro | qmake | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 144 |
```unknown
#!/usr/bin/env bash
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM ... | /content/code_sandbox/CarouselLayoutManager/gradlew | unknown | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 1,524 |
```gradle
apply plugin: 'maven-publish'
apply plugin: 'signing'
apply plugin: 'org.jetbrains.dokka'
task androidSourcesJar(type: Jar) {
archiveClassifier.set('sources')
if (project.plugins.findPlugin("com.android.library")) {
from android.sourceSets.main.java.srcDirs
} else {
from sourceSet... | /content/code_sandbox/CarouselLayoutManager/carousellayoutmanager/publish-module.gradle | gradle | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 438 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.mig35.carousellayoutmanager">
<application />
</manifest>
``` | /content/code_sandbox/CarouselLayoutManager/carousellayoutmanager/src/main/AndroidManifest.xml | xml | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 36 |
```gradle
ext["signing.keyId"] = ''
ext["signing.password"] = ''
ext["signing.secretKeyRingFile"] = ''
ext["ossrhUsername"] = ''
ext["ossrhPassword"] = ''
ext["sonatypeStagingProfileId"] = ''
File secretPropsFile = project.rootProject.file('local.properties')
if (secretPropsFile.exists()) {
// Read local.propertie... | /content/code_sandbox/CarouselLayoutManager/carousellayoutmanager/publish-root.gradle | gradle | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 322 |
```java
package com.mig35.carousellayoutmanager;
import androidx.annotation.NonNull;
import android.view.View;
/**
* Implementation of {@link CarouselLayoutManager.PostLayoutListener} that makes interesting scaling of items. <br />
* We are trying to make items scaling quicker for closer items for center and slower... | /content/code_sandbox/CarouselLayoutManager/carousellayoutmanager/src/main/java/com/mig35/carousellayoutmanager/CarouselZoomPostLayoutListener.java | java | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 361 |
```java
package com.mig35.carousellayoutmanager;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import android.view.View;
public class DefaultChildSelectionListener extends CarouselChildSelectionListener {
@NonNull
private final OnCenterItemClickListener mOnCenterItemCl... | /content/code_sandbox/CarouselLayoutManager/carousellayoutmanager/src/main/java/com/mig35/carousellayoutmanager/DefaultChildSelectionListener.java | java | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 294 |
```java
package com.mig35.carousellayoutmanager;
import android.graphics.PointF;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import android.view.View;
/**
* Custom implementation of {@link RecyclerView.SmoothScroller} that can work only with {@link CarouselLayoutManager}.
*... | /content/code_sandbox/CarouselLayoutManager/carousellayoutmanager/src/main/java/com/mig35/carousellayoutmanager/CarouselSmoothScroller.java | java | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 318 |
```java
package com.mig35.carousellayoutmanager;
public class ItemTransformation {
final float mScaleX;
final float mScaleY;
final float mTranslationX;
final float mTranslationY;
public ItemTransformation(final float scaleX, final float scaleY, final float translationX, final float translationY) ... | /content/code_sandbox/CarouselLayoutManager/carousellayoutmanager/src/main/java/com/mig35/carousellayoutmanager/ItemTransformation.java | java | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 101 |
```java
package com.mig35.carousellayoutmanager;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import android.view.View;
public abstract class CarouselChildSelectionListener {
@NonNull
private final RecyclerView mRecyclerView;
@NonNull
private final CarouselLay... | /content/code_sandbox/CarouselLayoutManager/carousellayoutmanager/src/main/java/com/mig35/carousellayoutmanager/CarouselChildSelectionListener.java | java | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 326 |
```java
package com.mig35.carousellayoutmanager;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
/**
* Class for centering items after scroll event.<br />
* This class will listen to current scroll state and if item is not centered after scroll it will automatically scroll it t... | /content/code_sandbox/CarouselLayoutManager/carousellayoutmanager/src/main/java/com/mig35/carousellayoutmanager/CenterScrollListener.java | java | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 279 |
```qmake
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in C:\Users\Mikhail\Documents\tools\android_sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For mor... | /content/code_sandbox/CarouselLayoutManager/sample/proguard-rules.pro | qmake | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 144 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="path_to_url"
xmlns:tools="path_to_url"
package="com.mig35.carousellayoutmanager.sample">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android... | /content/code_sandbox/CarouselLayoutManager/sample/src/main/AndroidManifest.xml | xml | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 176 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:contex... | /content/code_sandbox/CarouselLayoutManager/sample/src/main/res/layout/activity_carousel_preview.xml | xml | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 752 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="path_to_url"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp">
<TextView
android:id="@+id/c_item_1"
android:layout_width="wrap_content"
android:layo... | /content/code_sandbox/CarouselLayoutManager/sample/src/main/res/layout/item_view.xml | xml | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 235 |
```xml
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item na... | /content/code_sandbox/CarouselLayoutManager/sample/src/main/res/values/styles.xml | xml | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 166 |
```xml
<resources>
<string name="app_name">CarouselLayoutManager</string>
</resources>
``` | /content/code_sandbox/CarouselLayoutManager/sample/src/main/res/values/strings.xml | xml | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 20 |
```xml
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
<dimen name="fab_margin">16dp</dimen>
</resources>
``` | /content/code_sandbox/CarouselLayoutManager/sample/src/main/res/values/dimens.xml | xml | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 67 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#3F51B5</color>
<color name="colorPrimaryDark">#303F9F</color>
<color name="colorAccent">#FF4081</color>
</resources>
``` | /content/code_sandbox/CarouselLayoutManager/sample/src/main/res/values/colors.xml | xml | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 67 |
```java
package com.mig35.carousellayoutmanager.sample;
import android.graphics.Color;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Toast;
import com.mig35.carousellayoutmanager.CarouselLayoutManag... | /content/code_sandbox/CarouselLayoutManager/sample/src/main/java/com/mig35/carousellayoutmanager/sample/CarouselPreviewActivity.java | java | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 1,199 |
```java
package com.mig35.carousellayoutmanager;
import android.graphics.PointF;
import android.os.Handler;
import android.os.Looper;
import android.os.Parcel;
import android.os.Parcelable;
import android.view.View;
import android.view.ViewGroup;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import ... | /content/code_sandbox/CarouselLayoutManager/carousellayoutmanager/src/main/java/com/mig35/carousellayoutmanager/CarouselLayoutManager.java | java | 2016-03-30T09:57:49 | 2024-08-16T03:15:37 | CarouselLayoutManager | Azoft/CarouselLayoutManager | 2,549 | 8,113 |
```php
<?php
declare(strict_types=1);
namespace Functional;
use App\Radio\Enums\FrontendAdapters;
use FunctionalTester;
class Api_Admin_StationsCest extends CestAbstract
{
/**
* @before setupComplete
* @before login
*/
public function manageStations(FunctionalTester $I): void
{
$I... | /content/code_sandbox/tests/Functional/Api_Admin_StationsCest.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 164 |
```php
<?php
declare(strict_types=1);
/* Placeholder */
``` | /content/code_sandbox/tests/Functional/_bootstrap.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 13 |
```php
<?php
declare(strict_types=1);
namespace Unit;
use App\Entity\Enums\PlaylistTypes;
use App\Entity\Station;
use App\Entity\StationPlaylist;
use App\Entity\StationSchedule;
use App\Radio\AutoDJ\Scheduler;
use App\Tests\Module;
use Carbon\CarbonImmutable;
use Codeception\Test\Unit;
use DateTimeZone;
use Mockery;... | /content/code_sandbox/tests/Unit/StationPlaylistTest.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,184 |
```php
<?php
declare(strict_types=1);
namespace Functional;
use App\Radio\Enums\RemoteAdapters;
use FunctionalTester;
class Api_Stations_RemotesCest extends CestAbstract
{
/**
* @before setupComplete
* @before login
*/
public function manageRemotes(FunctionalTester $I): void
{
$I-... | /content/code_sandbox/tests/Functional/Api_Stations_RemotesCest.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 179 |
```xml
declare module '@vue/runtime-core' {
interface ComponentCustomProperties {
$gettext: (msgid: string, parameters?: {
[key: string]: any;
}, disableHtmlEscaping?: boolean) => string;
}
}
export {}
``` | /content/code_sandbox/frontend/vue-shim.d.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 52 |
```php
<?php
declare(strict_types=1);
namespace Functional;
use FunctionalTester;
class Api_Admin_AuditLogCest extends CestAbstract
{
/**
* @before setupComplete
* @before login
*/
public function viewAuditLog(FunctionalTester $I): void
{
$I->wantTo('View audit log via API.');
... | /content/code_sandbox/tests/Functional/Api_Admin_AuditLogCest.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 104 |
```php
<?php
declare(strict_types=1);
namespace Functional;
use App\Entity\Enums\StorageLocationAdapters;
use App\Entity\Enums\StorageLocationTypes;
use FunctionalTester;
class Api_Admin_StorageLocationsCest extends CestAbstract
{
/**
* @before setupComplete
* @before login
*/
public function... | /content/code_sandbox/tests/Functional/Api_Admin_StorageLocationsCest.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 180 |
```php
<?php
declare(strict_types=1);
namespace Functional;
use App\Entity\Repository\RolePermissionRepository;
use App\Enums\GlobalPermissions;
use FunctionalTester;
class Api_Admin_RolesCest extends CestAbstract
{
/**
* @before setupComplete
* @before login
*/
public function manageRoles(Fu... | /content/code_sandbox/tests/Functional/Api_Admin_RolesCest.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 316 |
```php
<?php
declare(strict_types=1);
namespace Functional;
use FunctionalTester;
class Frontend_PublicCest extends CestAbstract
{
/**
* @before setupComplete
*/
public function seePublicPage(FunctionalTester $I): void
{
$I->wantTo('Verify that the public page displays.');
// ... | /content/code_sandbox/tests/Functional/Frontend_PublicCest.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 529 |
```php
<?php
declare(strict_types=1);
namespace Functional;
use FunctionalTester;
class Api_Admin_CustomFieldsCest extends CestAbstract
{
/**
* @before setupComplete
* @before login
*/
public function manageCustomFields(FunctionalTester $I): void
{
$I->wantTo('Manage custom fields... | /content/code_sandbox/tests/Functional/Api_Admin_CustomFieldsCest.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 126 |
```yaml
#
# AzuraCast Docker Compose Configuration File
#
# When updating, you will be prompted to replace this file with a new
# version; you should do this whenever possible to take advantage of
# new updates.
#
# If you need to customize this file, you can create a new file named:
# docker-compose.override.yml
# w... | /content/code_sandbox/docker-compose.sample.yml | yaml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,910 |
```xml
import {useAzuraCastStation, useAzuraCastUser} from "~/vendor/azuracast.ts";
import {get, includes} from "lodash";
export enum StationPermission {
All = 'administer all',
View = 'view station management',
Reports = 'view station reports',
Logs = 'view station logs',
Profile = 'manage station... | /content/code_sandbox/frontend/acl.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 437 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.