text
stringlengths
1
22.8M
```python from chapter_04.binary_search_tree import BinarySearchTree from chapter_04.binary_tree import BinaryTree def is_binary_search_tree(tree): return _is_bst(tree.root) def _is_bst(node, min_val=None, max_val=None): if not node: return True if (min_val and node.key < min_val) or (max_val and node.key >= max_val): return False return _is_bst(node.left, min_val, node.key) and _is_bst( node.right, node.key, max_val ) def test_is_binary_search_tree(): bst = BinarySearchTree() bst.insert(20) bst.insert(9) bst.insert(25) bst.insert(5) bst.insert(12) bst.insert(11) bst.insert(14) t = BinaryTree() n1 = t.insert(5, None) n2 = t.insert(4, n1) n3 = t.insert(6, n1) n4 = t.insert(3, n2) t.insert(6, n2) t.insert(5, n3) t.insert(2, n4) assert not is_binary_search_tree(t) assert is_binary_search_tree(bst) ```
```javascript 'use strict'; const common = require('../common'); const bench = common.createBenchmark(main, { n: [1e5], }); function main({ n }) { bench.start(); for (var i = 0; i < n; i++) { // Access every item in object to process values. Object.keys(process.env); } bench.end(n); } ```
62–64 Argyle Place, Millers Point is a heritage-listed row of two terrace houses located at 62–64 Argyle Place, in the inner city Sydney suburb of Millers Point in the City of Sydney local government area of New South Wales, Australia. The property was added to the New South Wales State Heritage Register on 2 April 1999. History One part of a terrace pair built and in fairly intact exterior condition, presenting a significant facade to Argyle Place. A central park and a dominant church give Argyle Place the appearance of a typical London Square. Work on Argyle Place was commenced by Governor Macquarie however, this area was not fully formed until after cessation of quarrying at nearby rockface. First tenanted by the NSW Department of Housing in 1982. Description Two storey mid-Victorian terrace constructed , decorative window surrounds to top floor. Cast iron lace and posts. Two bedrooms plus sleep-out. Storeys: Two; Construction: Paint finished rendered masonry with decorative window box ledges, and key stones above arched first floor windows. Corrugated galvanised iron roof, cast iron lace columns and ground floor balustrading. Style: Victorian Italianate. The external condition of the property is good. Modifications and dates External: One cast iron column missing. Beaded timber end verandah wall has been removed. Last inspected: 19 February 1995. Heritage listing As at 23 November 2000, this is a fine mid-Victorian terrace house, one of an unequal width in mostly original external condition. Building forms part of a significant streetscape element facing Argyle Place. It is part of the Millers Point Conservation Area, an intact residential and maritime precinct. It contains residential buildings and civic spaces dating from the 1830s and is an important example of C19th adaptation of the landscape. 62–64 Argyle Place was listed on the New South Wales State Heritage Register on 2 April 1999. See also Australian residential architectural styles Undercliffe Terrace Garrison Church, Sydney References Bibliography Attribution External links New South Wales State Heritage Register sites located in Millers Point Argyle Place, Millers Point, 62-64 Terraced houses in Sydney Articles incorporating text from the New South Wales State Heritage Register Italianate architecture in Sydney Houses completed in 1864 1864 establishments in Australia Millers Point Conservation Area
Oliver Boyce Greene (February 14, 1915 – July 26, 1976) was an American Independent Fundamental Baptist evangelist and author. He was saved on September 9, 1935, at the age of 20. Greene was ordained as a Baptist minister at Morgan Memorial Baptist Church in Greenville, South Carolina on July 24, 1939. Over 200,000 confessions of faith were recorded as a result of his ministry. He attended North Greenville Baptist College briefly before entering full-time ministry, conducting revival meetings in tents and in churches across the eastern United States from 1939 to 1968. Career On October 8, 1956, he founded The Gospel Hour, Inc. as a Christian outreach ministry using radio, personal appearances, books and audio tapes. The radio program of his preaching was called "The Gospel Hour", which began on one station in Georgia and gradually became syndicated until the point it spanned the nation. The Gospel Hour was heard on 150 stations at the time of his death. Taped copies of the program are still aired today on the Fundamental Broadcasting Network and several other Christian radio stations including Caribbean Radio Lighthouse in St. John's, Antigua and Barbuda and the ministry's website. He wrote over 100 books and brief booklets about the Bible. Death Greene died of a cardiac aneurysm in 1976. Personal life Oliver B. Greene was married on September 10, 1939, to Aileen Hazel Collins Greene. They had three sons, Oliver Boyce Jr., Thomas and David. Writing From Disgrace to Grace: The Story of the Black Sheep of a Respectable Family (1959) Commentary on Galatians (1962) The Epistle of Paul the Apostle to the Romans (1962) The Epistle of Paul the Apostle to the Galatians (1962) The Epistle of Paul the Apostle to the Ephesians (1963) The Epistle of Paul the Apostle to the Colossians (1963) The Revelation: verse by verse study (1963) Evangelistic Messages (1964) Gospel Hour Sermons (1964) The Epistles of Paul The Apostle to Timothy and Titus (1964) The Epistles of Paul the Apostle to the Thessalonians (1964) The Epistle of Paul the Apostle to the Hebrews (1965) The Epistle of Paul the Apostle to the Philippians (1965) The Gospel of Grace As Revealed to the Apostle Paul (1965) What Think Ye of Christ?: And other sermons (1965) The Gospel According to John, Volume 2 (1966) The Epistles of John (1966) Daniel: verse by verse study (1966) Heaven James ...Servant of God The Atonement Of Christ Bible Truth (1968) The Acts of the Apostles (1968) The Gospel According to John : Volume III (1968) Hell (1969) Our Saviour;: The work of our Saviour: past, present, future (1969) Bible Prophecy (1970) The Second Coming of Jesus (1971) The Gospel According to Matthew (1972) The Revelation, Verse By Verse Study (1973) Christ Our Sufficiency (1973) Three Men Who Witnessed and Walked Away From Calvary (1974) The Acts of the Apostles Volume 4 (1975) The Gospel According to Matthew (1976) References External links The Gospel Hour More Audio Sermons by Oliver B. Greene 1915 births 1976 deaths Southern Baptist ministers Independent Baptist ministers from the United States American evangelicals American evangelists Radio evangelists Clergy from Greenville, South Carolina Southern Baptist Theological Seminary alumni American radio personalities Critics of the Catholic Church American temperance activists King James Only movement American Christian creationists Christian fundamentalists Converts to Baptist denominations 20th-century Baptist ministers from the United States
Claude Farrer and Arthur Stanley defeated Patrick Bowes-Lyon and Herbert Wilberforce 7–5, 6–3, 6–1 in the All Comers' Final, but the reigning champions Ernest Renshaw and William Renshaw defeated Farrer and Stanley 6–3, 6–3, 4–6, 7–5 in the challenge round to win the gentlemen's doubles tennis title at the 1886 Wimbledon Championships. Draw Challenge round All comers' finals References External links Gentlemen's Doubles Wimbledon Championship by year – Men's doubles
```yaml category: Network Security sectionOrder: - Connect - Collect commonfields: id: Azure Network Security Groups version: -1 configuration: - defaultvalue: d4736600-e3d5-4c97-8e65-57abd2b979fe display: Application ID name: app_id type: 0 section: Connect - display: Default Subscription ID name: subscription_id required: true type: 0 section: Connect additionalinfo: There are two options to set the specified value, either in the configuration or directly within the commands. However, setting values in both places will cause an override by the command value. - display: Default Resource Group Name name: resource_group_name required: true type: 0 section: Connect additionalinfo: There are two options to set the specified value, either in the configuration or directly within the commands. However, setting values in both places will cause an override by the command value. - defaultvalue: path_to_url display: Azure AD endpoint name: azure_ad_endpoint options: - path_to_url - path_to_url - path_to_url - path_to_url type: 15 additionalinfo: Azure AD endpoint associated with a national cloud. section: Connect advanced: true required: false - display: Trust any certificate (not secure) name: insecure type: 8 section: Connect advanced: true required: false - display: Use system proxy settings name: proxy type: 8 section: Connect advanced: true required: false - name: auth_type display: Authentication Type required: true defaultvalue: Device Code type: 15 additionalinfo: Type of authentication - can be Authorization Code Flow (recommended), Device Code Flow or Azure Managed Identities. options: - Authorization Code - Client Credentials - Device Code - Azure Managed Identities section: Connect - name: tenant_id display: Tenant ID defaultvalue: type: 0 additionalinfo: "" section: Connect required: false - name: credentials display: Client Secret defaultvalue: type: 9 additionalinfo: "" displaypassword: Client Secret hiddenusername: true section: Connect required: false - name: redirect_uri display: Application redirect URI defaultvalue: type: 0 additionalinfo: "" section: Connect advanced: true required: false - name: auth_code display: Authorization code defaultvalue: type: 9 additionalinfo: For user-auth mode - received from the authorization step. See Detailed Instructions (?) section. displaypassword: Authorization code hiddenusername: true section: Connect advanced: true required: false - additionalinfo: The Managed Identities client ID for authentication - relevant only if the integration is running on Azure VM. displaypassword: Azure Managed Identities Client ID name: managed_identities_client_id hiddenusername: true type: 9 section: Connect required: false description: Azure network security groups are used to filter network traffic to and from Azure resources in an Azure virtual network. display: Azure Network Security Groups name: Azure Network Security Groups script: commands: - description: List all network security groups. name: azure-nsg-security-groups-list outputs: - contextPath: AzureNSG.SecurityGroup.name description: The security group's name. type: String - contextPath: AzureNSG.SecurityGroup.id description: The security group's ID. type: String - contextPath: AzureNSG.SecurityGroup.etag description: The security group's ETag. type: String - contextPath: AzureNSG.SecurityGroup.type description: The security group's type. type: String - contextPath: AzureNSG.SecurityGroup.location description: The security group's location. type: String - contextPath: AzureNSG.SecurityGroup.tags description: The security group's tags. type: String arguments: - default: false name: subscription_id description: "The subscription ID. Note: This argument will override the instance parameter Default Subscription ID'." type: String isArray: false required: false - default: false name: resource_group_name description: "The resource group name. Note: This argument will override the instance parameter Default Resource Group Name'." type: String isArray: false required: false - arguments: - description: "The subscription ID. Note: This argument will override the instance parameter Default Subscription ID'." isArray: false name: subscription_id required: false default: false type: String - description: "The resource group name. Note: This argument will override the instance parameter Default Resource Group Name'." name: resource_group_name default: false type: String isArray: false required: false - description: A comma-separated list of the names of the security groups. name: security_group_name default: false isArray: true required: true - defaultValue: '50' description: The maximum number of rules to display. name: limit required: false secret: false - default: false defaultValue: '1' description: The index of the first rule to display. Used for pagination. name: offset description: List all rules of the specified security groups. name: azure-nsg-security-rules-list outputs: - contextPath: AzureNSG.Rule.name description: The rule's name. type: String - contextPath: AzureNSG.Rule.id description: The rule's ID. type: String - contextPath: AzureNSG.Rule.etag description: The rule's ETag. type: String - contextPath: AzureNSG.Rule.type description: The rule's type. type: String - contextPath: AzureNSG.Rule.provisioningState description: The rule's provisioning state. type: String - contextPath: AzureNSG.Rule.protocol description: The protocol. Can be "TCP", "UDP", "ICMP", or "*"". type: String - contextPath: AzureNSG.Rule.sourcePortRange description: For a single port, the source port or range of ports. Note that for multiple ports, `sourcePortRanges` will appear instead. type: String - contextPath: AzureNSG.Rule.sourcePortRanges description: For multiple ports, a list of source ports. Note that for single ports, `sourcePortRange` will appear instead. type: String - contextPath: AzureNSG.Rule.destinationPortRange description: For a single port, the destination port or range of ports. Note that for multiple ports, `destinationPortRanges` will appear instead. type: String - contextPath: AzureNSG.Rule.destinationPortRanges description: For multiple ports, a list of destination ports. Note that for single ports, `destinationPortRange` will appear instead. type: String - contextPath: AzureNSG.Rule.sourceAddressPrefix description: The source address. type: String - contextPath: AzureNSG.Rule.destinationAddressPrefix description: The destination address. type: String - contextPath: AzureNSG.Rule.access description: The rule's access. Can be either "Allow" or "Deny". type: String - contextPath: AzureNSG.Rule.priority description: The rule's priority. Can be from 100 to 4096. type: Number - contextPath: AzureNSG.Rule.direction description: The rule's direction. Can be either "Inbound" or "Outbound". type: String - description: Tests the connectivity to the Azure Network Security Groups. name: azure-nsg-auth-test - arguments: - description: "The subscription ID. Note: This argument will override the instance parameter Default Subscription ID'." name: subscription_id required: false default: false type: String isArray: false - description: "The name of the resource group. Note: This argument will override the instance parameter Default Resource Group Name'." name: resource_group_name required: false default: false type: String isArray: false - default: false description: The name of the security group. isArray: false name: security_group_name required: true - description: The name of the rule to be deleted. name: security_rule_name required: true description: Delete a security rule. name: azure-nsg-security-rule-delete - arguments: - description: "The subscription ID. Note: This argument will override the instance parameter Default Subscription ID'." name: subscription_id required: false default: false type: String isArray: false - description: "The name of the resource group. Note: This argument will override the instance parameter Default Resource Group Name'." name: resource_group_name required: false default: false type: String isArray: false - description: 'The name of the security group.' name: security_group_name required: true default: false isArray: false - description: 'The name of the rule to be created.' name: security_rule_name required: true - auto: PREDEFINED description: 'The direction of the rule. Possible values are: "Inbound" and "Outbound".' name: direction predefined: - Inbound - Outbound required: true - description: 'Whether to allow the traffic. Possible values are: "Allow" and "Deny".' name: action auto: PREDEFINED predefined: - Allow - Deny - description: 'The protocol on which to apply the rule. Possible values are: "Any", "TCP", "UDP" and "ICMP".' name: protocol auto: PREDEFINED predefined: - Any - TCP - UDP - ICMP - description: The source IP address range from which incoming traffic will be allowed or denied by this rule. Possible values are "Any", an IP address range, an application security group, or a default tag. Default is "Any". name: source - description: The priority by which the rules will be processed. The lower the number, the higher the priority. We recommend leaving gaps between rules - 100, 200, 300, etc. - so that it is easier to add new rules without having to edit existing rules. Default is "4096". name: priority - description: The source ports from which traffic will be allowed or denied by this rule. Provide a single port, such as 80; a port range, such as 1024-65535; or a comma-separated list of single ports and/or port ranges, such as 80,1024-65535. Use an asterisk (*) to allow traffic on any port. Default is "*". name: source_ports - description: The specific destination IP address range for outgoing traffic that will be allowed or denied by this rule. The destination filter can be "Any", an IP address range, an application security group, or a default tag. name: destination - description: The destination ports for which traffic will be allowed or denied by this rule. Provide a single port, such as 80; a port range, such as 1024-65535; or a comma-separated list of single ports and/or port ranges, such as 80,1024-65535. Use an asterisk (*) to allow traffic on any port. name: destination_ports - description: A description to add to the rule. name: description description: Create a security rule. name: azure-nsg-security-rule-create outputs: - contextPath: AzureNSG.Rule.name description: The rule's name. type: String - contextPath: AzureNSG.Rule.id description: The rule's ID. type: String - contextPath: AzureNSG.Rule.etag description: The rule's ETag. type: String - contextPath: AzureNSG.Rule.type description: The rule's type. type: String - contextPath: AzureNSG.Rule.provisioningState description: The rule's provisioning state. type: String - contextPath: AzureNSG.Rule.protocol description: The protocol. Can be "TCP", "UDP", "ICMP", or "*". type: String - contextPath: AzureNSG.Rule.sourcePortRange description: For a single port, the source port or a range of ports. Note that for multiple ports, `sourcePortRanges` will appear instead. type: String - contextPath: AzureNSG.Rule.sourcePortRanges description: For multiple ports, a list of these ports. Note that for single ports, `sourcePortRange` will appear instead. type: String - contextPath: AzureNSG.Rule.destinationPortRange description: For a single port, the destination port or range of ports. Note that for multiple ports, `destinationPortRanges` will appear instead. type: String - contextPath: AzureNSG.Rule.destinationPortRanges description: For multiple ports, a list of destination ports. Note that for single ports, `destinationPortRange` will appear instead. type: String - contextPath: AzureNSG.Rule.sourceAddressPrefix description: The source address. type: String - contextPath: AzureNSG.Rule.destinationAddressPrefix description: The destination address. type: String - contextPath: AzureNSG.Rule.access description: The rule's access. Can be "Allow" or "Deny". type: String - contextPath: AzureNSG.Rule.priority description: The rule's priority. Can be from 100 to 4096. type: Number - contextPath: AzureNSG.Rule.direction description: The rule's direction. Can be "Inbound" or "Outbound". type: String - arguments: - description: "The subscription ID. Note: This argument will override the instance parameter Default Subscription ID'." name: subscription_id required: false default: false type: String isArray: false - description: "The name of the resource group. Note: This argument will override the instance parameter Default Resource Group Name'." name: resource_group_name required: false default: false type: String isArray: false - description: 'The name of the security group.' name: security_group_name default: false isArray: false required: true - description: The name of the rule to be updated. name: security_rule_name required: true - auto: PREDEFINED description: 'The direction of the rule. Possible values are: "Inbound" and "Outbound".' name: direction predefined: - Inbound - Outbound - description: Whether to allow the traffic. Possible values are "Allow" and "Deny". name: action auto: PREDEFINED predefined: - Allow - Deny - description: 'The protocol on which to apply the rule. Possible values are: "Any", "TCP", "UDP", and "ICMP".' name: protocol auto: PREDEFINED predefined: - Any - TCP - UDP - ICMP - description: The source IP address range from which incoming traffic will be allowed or denied by this rule. Possible values are "Any", an IP address range, an application security group, or a default tag. Default is "Any". name: source - description: The priority by which the rules will be processed. The lower the number, the higher the priority. We recommend leaving gaps between rules - 100, 200, 300, etc. - so that it is easier to add new rules without having to edit existing rules. Default is "4096". name: priority - description: The source ports from which traffic will be allowed or denied by this rule. Provide a single port, such as 80; a port range, such as 1024-65535; or a comma-separated list of single ports and/or port ranges, such as 80,1024-65535. Use an asterisk (*) to allow traffic on any port. Default is "*". name: source_ports - description: The specific destination IP address range for outgoing traffic that will be allowed or denied by this rule. The destination filter can be "Any", an IP address range, an application security group, or a default tag. name: destination - description: The destination ports for which traffic will be allowed or denied by this rule. Provide a single port, such as 80; a port range, such as 1024-65535; or a comma-separated list of single ports and/or port ranges, such as 80,1024-65535. Use an asterisk (*) to allow traffic on any port. name: destination_ports - description: A description to add to the rule. name: description description: Update a security rule. If one does not exist, it will be created. name: azure-nsg-security-rule-update outputs: - contextPath: AzureNSG.Rule.name description: The rule's name. type: String - contextPath: AzureNSG.Rule.id description: The rule's ID. type: String - contextPath: AzureNSG.Rule.etag description: The rule's ETag. type: String - contextPath: AzureNSG.Rule.type description: The rule's type. type: String - contextPath: AzureNSG.Rule.provisioningState description: The rule's provisioning state. type: String - contextPath: AzureNSG.Rule.protocol description: The protocol. Can be "TCP", "UDP", "ICMP", "*". type: String - contextPath: AzureNSG.Rule.sourcePortRange description: For a single port, the source port or a range of ports. Note that for multiple ports, `sourcePortRanges` will appear instead. type: String - contextPath: AzureNSG.Rule.sourcePortRanges description: For multiple ports, a list of these ports. Note that for single ports, `sourcePortRange` will appear instead. type: String - contextPath: AzureNSG.Rule.destinationPortRange description: For a single port, the destination port or range of ports. Note that for multiple ports, `destinationPortRanges` will appear instead. type: String - contextPath: AzureNSG.Rule.destinationPortRanges description: For multiple ports, a list of destination ports. Note that for single ports, `destinationPortRange` will appear instead. type: String - contextPath: AzureNSG.Rule.sourceAddressPrefix description: The source address. type: String - contextPath: AzureNSG.Rule.destinationAddressPrefix description: The destination address. type: String - contextPath: AzureNSG.Rule.access description: The rule's access. Can be "Allow" or "Deny". type: String - contextPath: AzureNSG.Rule.priority description: The rule's priority. Can be from 100 to 4096. type: Number - contextPath: AzureNSG.Rule.direction description: The rule's direction. Can be "Inbound" or "Outbound". type: String - arguments: - description: "The subscription ID. Note: This argument will override the instance parameter Default Subscription ID'." name: subscription_id default: false type: String isArray: false required: false - description: "The name of the resource group. Note: This argument will override the instance parameter Default Resource Group Name'." isArray: false name: resource_group_name default: false type: String required: false - default: false description: The name of the security group. isArray: false name: security_group_name - description: A comma-separated list of the names of the rules to get. isArray: true name: security_rule_name description: Get a specific rule. name: azure-nsg-security-rule-get outputs: - contextPath: AzureNSG.Rule.name description: The rule's name. type: String - contextPath: AzureNSG.Rule.id description: The rule's ID. type: String - contextPath: AzureNSG.Rule.etag description: The rule's ETag. type: String - contextPath: AzureNSG.Rule.type description: The rule's type. type: String - contextPath: AzureNSG.Rule.provisioningState description: The rule's provisioning state. type: String - contextPath: AzureNSG.Rule.protocol description: The protocol. Can be "TCP", "UDP", "ICMP", "*". type: String - contextPath: AzureNSG.Rule.sourcePortRange description: For a single port, the source port or a range of ports. Note that for multiple ports, `sourcePortRanges` will appear instead. type: String - contextPath: AzureNSG.Rule.sourcePortRanges description: For multiple ports, a list of these ports. Note that for single ports, `sourcePortRange` will appear instead. type: String - contextPath: AzureNSG.Rule.destinationPortRange description: For a single port, the destination port or range of ports. Note that for multiple ports, `destinationPortRanges` will appear instead. type: String - contextPath: AzureNSG.Rule.destinationPortRanges description: For multiple ports, a list of destination ports. Note that for single ports, `destinationPortRange` will appear instead. type: String - contextPath: AzureNSG.Rule.sourceAddressPrefix description: The source address. type: String - contextPath: AzureNSG.Rule.destinationAddressPrefix description: The destination address. type: String - contextPath: AzureNSG.Rule.access description: The rule's access. Can be "Allow" or "Deny". type: String - contextPath: AzureNSG.Rule.priority description: The rule's priority. Can be from 100 to 4096. type: Number - contextPath: AzureNSG.Rule.direction description: The rule's direction. Can be "Inbound" or "Outbound". type: String - description: Run this command to start the authorization process and follow the instructions in the command results. name: azure-nsg-auth-start - description: Run this command to complete the authorization process. Should be used after running the azure-nsg-auth-start command. name: azure-nsg-auth-complete - description: Run this command if for some reason you need to rerun the authentication process. name: azure-nsg-auth-reset - description: Generate the login url used for Authorization code flow. name: azure-nsg-generate-login-url arguments: [] - description: Gets all subscriptions for a tenant. name: azure-nsg-subscriptions-list outputs: - contextPath: AzureNSG.Subscription.id description: 'The unique identifier of the Azure Network Security Groups subscription.' type: String - contextPath: AzureNSG.Subscription.authorizationSource description: 'The source of authorization for the Azure Network Security Groups subscription.' type: String - contextPath: AzureNSG.Subscription.managedByTenants description: 'The tenants that have access to manage the Azure Network Security Groups subscription.' type: Unknown - contextPath: AzureNSG.Subscription.subscriptionId description: 'The ID of the Azure Network Security Groups subscription.' type: String - contextPath: AzureNSG.Subscription.tenantId description: 'The ID of the tenant associated with the Azure Network Security Groups subscription.' type: String - contextPath: AzureNSG.Subscription.displayName description: 'The display name of the Azure Network Security Groups subscription.' type: String - contextPath: AzureNSG.Subscription.state description: 'The current state of the Azure Network Security Groups subscription.' type: String - contextPath: AzureNSG.Subscription.subscriptionPolicies.locationPlacementId description: 'The ID of the location placement policy for the Azure Network Security Groups subscription.' type: String - contextPath: AzureNSG.Subscription.subscriptionPolicies.quotaId description: 'The ID of the quota policy for the Azure Network Security Groups subscription.' type: String - contextPath: AzureNSG.Subscription.subscriptionPolicies.spendingLimit description: 'The spending limit policy for the Azure Network Security Groups subscription.' type: String - contextPath: AzureNSG.Subscription.count.type description: 'The type of the Azure Network Security Groups subscription count.' type: String - contextPath: AzureNSG.Subscription.count.value description: 'The value of the Azure Network Security Groups subscription count.' type: Number - description: Gets all resource groups for a subscription. name: azure-nsg-resource-group-list arguments: - default: false description: "The subscription ID. Note: This argument will override the instance parameter Default Subscription ID'." isArray: false name: subscription_id required: false secret: false - name: limit description: Limit on the number of resource groups to return. required: false defaultValue: 50 - default: false name: tag description: A single tag in the form of `{"Tag Name":"Tag Value"}` to filter the list by. required: false outputs: - contextPath: AzureNSG.ResourceGroup.id description: 'The unique identifier of the Azure Network Security Groups resource group.' type: String - contextPath: AzureNSG.ResourceGroup.name description: 'The name of the Azure Network Security Groups resource group.' type: String - contextPath: AzureNSG.ResourceGroup.type description: 'The type of the Azure Network Security Groups resource group.' type: String - contextPath: AzureNSG.ResourceGroup.location description: 'The location of the Azure Network Security Groups resource group.' type: String - contextPath: AzureNSG.ResourceGroup.properties.provisioningState description: 'The provisioning state of the Azure Network Security Groups resource group.' type: String - contextPath: AzureNSG.ResourceGroup.tags.Owner description: 'The owner tag of the Azure Network Security Groups resource group.' type: String - contextPath: AzureNSG.ResourceGroup.tags description: 'The tags associated with the Azure Network Security Groups resource group.' type: Unknown - contextPath: AzureNSG.ResourceGroup.tags.Name description: 'The name tag of the Azure Network Security Groups resource group.' type: String - contextPath: AzureNSG.ResourceGroup.managedBy description: 'The entity that manages the Azure Network Security Groups resource group.' type: String - contextPath: AzureNSG.ResourceGroup.tags.aNSG-managed-cluster-name description: 'The ANSG managed cluster name tag associated with the Azure Network Security Groups resource group.' type: String - contextPath: AzureNSG.ResourceGroup.tags.aNSG-managed-cluster-rg description: 'The ANSG managed cluster resource group tag associated with the Azure Network Security Groups resource group.' type: String - contextPath: AzureNSG.ResourceGroup.tags.type description: 'The type tag associated with the Azure Network Security Groups resource group.' type: String dockerimage: demisto/crypto:1.0.0.91402 runonce: false script: '-' subtype: python3 type: python tests: - Azure NSG - Test fromversion: 5.0.0 ```
The Shree Geeta Bhawan Mandir () is the first Hindu temple in the West Midlands of England, opened in a former church in 1969. It is situated at 107-117 Heathfield Road, on the corner of Brecon Road, on the border of the Handsworth and Lozells districts of Birmingham. Originally, services were held at 32 Hall Road, Birmingham B20 2BQ. The Mandir has a daily Aarti at 11 am and 7 pm and has weekly Poojas for Balaji on Sunday mornings, and Durga Maa on Tuesday evenings. Architecture The building was the former St George's Presbyterian Church and was originally designed by J.P.Osborne in a cruciform shape in 1896. Pevsner and Wedgwood (1966) said it was "...in a style variously described as 'modern Gothic' and a 'modification of Renaissance'. In fact an ungainly mixture of styles and an odd plan.". References External links Hindu temples in England Religious buildings and structures in Birmingham, West Midlands
```java /** * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ package org.thingsboard.server.service.script; import com.google.common.util.concurrent.Futures; import com.google.common.util.concurrent.ListenableFuture; import com.google.common.util.concurrent.MoreExecutors; import lombok.extern.slf4j.Slf4j; import org.thingsboard.rule.engine.api.ScriptEngine; import org.thingsboard.script.api.ScriptInvokeService; import org.thingsboard.script.api.ScriptType; import org.thingsboard.server.common.data.id.CustomerId; import org.thingsboard.server.common.data.id.TenantId; import org.thingsboard.server.common.msg.TbMsg; import javax.script.ScriptException; import java.util.List; import java.util.Set; import java.util.UUID; import java.util.concurrent.ExecutionException; @Slf4j public abstract class RuleNodeScriptEngine<T extends ScriptInvokeService, R> implements ScriptEngine { private final T scriptInvokeService; private final UUID scriptId; private final TenantId tenantId; public RuleNodeScriptEngine(TenantId tenantId, T scriptInvokeService, String script, String... argNames) { this.tenantId = tenantId; this.scriptInvokeService = scriptInvokeService; try { this.scriptId = this.scriptInvokeService.eval(tenantId, ScriptType.RULE_NODE_SCRIPT, script, argNames).get(); } catch (Exception e) { Throwable t = e; if (e instanceof ExecutionException) { t = e.getCause(); } throw new IllegalArgumentException("Can't compile script: " + t.getMessage(), t); } } protected abstract Object[] prepareArgs(TbMsg msg); @Override public ListenableFuture<List<TbMsg>> executeUpdateAsync(TbMsg msg) { ListenableFuture<R> result = executeScriptAsync(msg); return Futures.transformAsync(result, json -> executeUpdateTransform(msg, json), MoreExecutors.directExecutor()); } protected abstract ListenableFuture<List<TbMsg>> executeUpdateTransform(TbMsg msg, R result); @Override public ListenableFuture<TbMsg> executeGenerateAsync(TbMsg prevMsg) { return Futures.transformAsync(executeScriptAsync(prevMsg), result -> executeGenerateTransform(prevMsg, result), MoreExecutors.directExecutor()); } protected abstract ListenableFuture<TbMsg> executeGenerateTransform(TbMsg prevMsg, R result); @Override public ListenableFuture<String> executeToStringAsync(TbMsg msg) { return Futures.transformAsync(executeScriptAsync(msg), this::executeToStringTransform, MoreExecutors.directExecutor()); } @Override public ListenableFuture<Boolean> executeFilterAsync(TbMsg msg) { return Futures.transformAsync(executeScriptAsync(msg), this::executeFilterTransform, MoreExecutors.directExecutor()); } protected abstract ListenableFuture<String> executeToStringTransform(R result); protected abstract ListenableFuture<Boolean> executeFilterTransform(R result); protected abstract ListenableFuture<Set<String>> executeSwitchTransform(R result); @Override public ListenableFuture<Set<String>> executeSwitchAsync(TbMsg msg) { return Futures.transformAsync(executeScriptAsync(msg), this::executeSwitchTransform, MoreExecutors.directExecutor()); //usually runs in a callbackExecutor } ListenableFuture<R> executeScriptAsync(TbMsg msg) { log.trace("execute script async, msg {}", msg); Object[] inArgs = prepareArgs(msg); return executeScriptAsync(msg.getCustomerId(), inArgs[0], inArgs[1], inArgs[2]); } ListenableFuture<R> executeScriptAsync(CustomerId customerId, Object... args) { return Futures.transformAsync(scriptInvokeService.invokeScript(tenantId, customerId, this.scriptId, args), o -> { try { return Futures.immediateFuture(convertResult(o)); } catch (Exception e) { if (e.getCause() instanceof ScriptException) { return Futures.immediateFailedFuture(e.getCause()); } else if (e.getCause() instanceof RuntimeException) { return Futures.immediateFailedFuture(new ScriptException(e.getCause().getMessage())); } else { return Futures.immediateFailedFuture(new ScriptException(e)); } } }, MoreExecutors.directExecutor()); } public void destroy() { scriptInvokeService.release(this.scriptId); } protected abstract R convertResult(Object result); } ```
```python #!/usr/bin/env python # # @license Apache-2.0 # # # # path_to_url # # Unless required by applicable law or agreed to in writing, software # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. """Benchmark numpy.cumsum.""" from __future__ import print_function, division import timeit NAME = "cumsum" REPEATS = 3 ITERATIONS = 1000000 COUNT = [0] # use a list to allow modification within nested scopes def print_version(): """Print the TAP version.""" print("TAP version 13") def print_summary(total, passing): """Print the benchmark summary. # Arguments * `total`: total number of tests * `passing`: number of passing tests """ print("#") print("1.." + str(total)) # TAP plan print("# total " + str(total)) print("# pass " + str(passing)) print("#") print("# ok") def print_results(iterations, elapsed): """Print benchmark results. # Arguments * `iterations`: number of iterations * `elapsed`: elapsed time (in seconds) # Examples ``` python python> print_results(100000, 0.131009101868) ``` """ rate = iterations / elapsed print(" ---") print(" iterations: " + str(iterations)) print(" elapsed: " + str(elapsed)) print(" rate: " + str(rate)) print(" ...") def benchmark(name, setup, stmt, iterations): """Run the benchmark and print benchmark results. # Arguments * `name`: benchmark name (suffix) * `setup`: benchmark setup * `stmt`: statement to benchmark * `iterations`: number of iterations # Examples ``` python python> benchmark("::random", "from random import random;", "y = random()", 1000000) ``` """ t = timeit.Timer(stmt, setup=setup) i = 0 while i < REPEATS: print("# python::numpy::" + NAME + name) COUNT[0] += 1 elapsed = t.timeit(number=iterations) print_results(iterations, elapsed) print("ok " + str(COUNT[0]) + " benchmark finished") i += 1 def main(): """Run the benchmarks.""" print_version() iters = ITERATIONS n = 10 while n < 1e7: name = ":len="+str(n) setup = "import numpy as np;" setup += "x = np.random.random([1,"+str(n)+"]);" stmt = "y = np.cumsum(x);" benchmark(name, setup, stmt, iters) n *= 10 iters //= 4 print_summary(COUNT[0], COUNT[0]) if __name__ == "__main__": main() ```
myMail is a mobile app for managing multiple email accounts created by My.com, a subsidiary of Mail.Ru Group. Using POP/IMAP, SMTP and Microsoft Exchange ActiveSync protocols, myMail provides real-time, customizable notifications, data compression for sending/receiving email traffic and search functionality. myMail was released in the U.S. for Android and iOS (iPhone and iPad) mobile platforms in November 2013. It is now available worldwide through the iOS App Store and Google Play. Primary functionality Managing multiple email accounts from one mobile app Customizable push notifications: Turn off/on by time of day, by email account, by folder or by sender. Hide sender name or subject Avatars and icons: Avatars and icons make email a personal experience by visually indicating the sender of email Swipe gestures: touch screen gestures for moving between email accounts and for managing individual or multiple emails. Gestures reveal icons for marking as read/unread, delete, move to folder or marking as spam Support for major email account services such as Gmail, Yahoo!, Outlook, AOL and most POP3 or IMAP email services Data compression which speeds up email delivery decreasing data usage Ability to preview/forward multiple attachments without downloading to the device Ability to attach multiple images to an email in one step Smart search function searches through all email accounts and suggests word phrases based on previous email content Address book integration Supported email services myMail automatically defines the settings for most email providers (Google Gmail, Yahoo! Mail, Outlook.com (including Hotmail and Office 365), AOL Email, Xfinity.com, QQ.COM Mail, 163.COM Mail, Mail.Ru – Mail, Yandex Mail, 126.COM, Orange Mail, WP.PL – Poczta, Web.de Freemail and many other POP3/IMAP service). Additionally, oAuth is supported for those email services who use the standard to verify third-party credentials. Problems myMail transfers your username and password of your mail account to the server of the service provider. This server logs into your mail account and downloads your mail. The mobile device gets its push notifications from this Russian server. This may pose an unacceptable security risk to individuals or organizations. Local mailserver, which are not reachable from the internet, can't be used by the app even if the mobile device is in the same LAN as the mailserver References External links Official My.com Website IOS software Email clients
Hemidactylus kyaboboensis is a species of forest geckos from Ghana and Togo. Its type locality is Kyabobo National Park, to which its specific name refers. It is the sister species of Hemidactylus fasciatus. Description Hemidactylus kyaboboensis grow to a maximum snout–vent length of and a maximum total length of . The head is broad. The body has indistinct dark crossbands and more prominent whitish stripes and dots. There is a broad crossband on the neck that reaches the lower tip of the ear hole. Habitat and distribution Hemidactylus kyaboboensis have been collected from moist, semi-deciduous rainforests in the Togo Hills of eastern Ghana and Missahöhe in western Togo. These rainforests are habitat islands within the more arid Dahomey Gap. References Further reading External links Hemidactylus Geckos of Africa Reptiles of West Africa Fauna of Ghana Fauna of Togo Reptiles described in 2014 Taxa named by Philipp Wagner
The 1999 Nigerian Senate election in Benue State was held on February 20, 1999, to elect members of the Nigerian Senate to represent Benue State. David Mark representing Benue South, Joseph Waku representing Benue North-West, and Daniel Saror representing Benue North-East all won on the platform of the Peoples Democratic Party. Overview Summary Results Benue South The election was won by David Mark of the Peoples Democratic Party. Benue North-West The election was won by Joseph Waku of the Peoples Democratic Party. Benue North-East The election was won by Daniel Saror of the People's Democratic Party. References Ben Ben Benue State Senate elections
```python # # # path_to_url # # Unless required by applicable law or agreed to in writing, software # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # ============================================================================== """Base head class. All the different kinds of prediction heads in different models will inherit from this class. What is in common between all head classes is that they have a `predict` function that receives `features` as its first argument. How to add a new prediction head to an existing meta architecture? For example, how can we add a `3d shape` prediction head to Mask RCNN? We have to take the following steps to add a new prediction head to an existing meta arch: (a) Add a class for predicting the head. This class should inherit from the `Head` class below and have a `predict` function that receives the features and predicts the output. The output is always a tf.float32 tensor. (b) Add the head to the meta architecture. For example in case of Mask RCNN, go to box_predictor_builder and put in the logic for adding the new head to the Mask RCNN box predictor. (c) Add the logic for computing the loss for the new head. (d) Add the necessary metrics for the new head. (e) (optional) Add visualization for the new head. """ from abc import abstractmethod import tensorflow.compat.v1 as tf class Head(object): """Mask RCNN head base class.""" def __init__(self): """Constructor.""" pass @abstractmethod def predict(self, features, num_predictions_per_location): """Returns the head's predictions. Args: features: A float tensor of features. num_predictions_per_location: Int containing number of predictions per location. Returns: A tf.float32 tensor. """ pass class KerasHead(tf.keras.layers.Layer): """Keras head base class.""" def call(self, features): """The Keras model call will delegate to the `_predict` method.""" return self._predict(features) @abstractmethod def _predict(self, features): """Returns the head's predictions. Args: features: A float tensor of features. Returns: A tf.float32 tensor. """ pass ```
Watermark is a 2003 Australian film directed by Georgina Willis and produced by Kerry Rock. It screened at Directors' Fortnight at 2003's Cannes film festival. Cast Jai Koutrae as Jim Sandra Stockley as Louise Ruth McDonald as Catherine Ellouise Rothwell as Jasmin Reception Adrian Martin of the Age gave it a very bad review which saw producer Kerry Rock threaten to sue Martin and The Age. Martin had called it "an inept, abysmal movie in every department" and said it was "another case study of what can go so terribly wrong in Australian movies." The Courier Mail gave it 2 stars stating "The film is moody and keeps its distance, which doesn't make the drama particularly involving." Herald Sun's Leigh Paatsch also gave it 2 stars writing "To get to Watermark's best scenes -- which meaningfully meander about what element of the past might be haunting a middle-aged family man -- the viewer has to wade through an ocean of pretentious piffle."" Writing in Variety David Stratton said "the film’s at times confusing structure and the cliches in which it dabbles will make it difficult to attract a significant audience." References External links 2003 films 2003 drama films Australian drama films 2000s English-language films 2000s Australian films
Kelvin Skidmore Matthewson Thomas (14 September 191914 June 2019) was a Welsh conductor, composer, baritone, and author. He was the founder and conductor of The Silver Ring Choir of Bath, and one of the founders and first music director of the Bradford-on-Avon Choral Society. Background Born in Grangetown, Cardiff, Wales, Kelvin was one of the five children of the coal merchant Charles Thomas and his wife Lena Thomas. He received musical training from an early age from his musical parents. As a boy soprano from the age of five, in 1931 (aged twelve) he had a test recording for the Concord record label (the recording was never released). In 1927, the Thomas family removed from Cardiff to Bathampton near Bath, Somerset, and were later involved in the building of Bathampton Methodist Church. During his early years of performances, Thomas once performed in the same concert as the American actor and bass baritone Paul Robeson at the Colston Hall, Bristol. Having continued his musical studies (also playing the violin and piano) throughout his early years, and his interest in singing continued as a baritone (rather than soprano). After a period employed in his father's business as a coal merchant, he worked for the Engineering firm, Stothert and Pitt. Musical Activities The Silver Ring Choir of Bath In 1951, he founded the mixed voice chamber choir, The Silver Ring Choir of Bath, and was their Conductor and Musical Director for almost forty years (1951–90). During this time, the Choir featured regularly on BBC Radio and Television (1958–94), achieving great success and winning numerous competitions, including first in its class in the National Eisteddfod of Wales. The Choir also toured various countries including Germany (1961), Hungary (1971), and the United States (1976). Bradford-on-Avon Choral Society In 1986, when the pianist Gaynor Briscoe was founding the Bradford-on-Avon Choral Society, she invited him to become the Society's first Musical Director, a post which he filled for eight years (1986–94). From initial performances of part songs, anthems, and madrigals, the choir progressed to performing works such as Haydn's Creation, Mendelssohn's Elijah, and Brahms's German Requiem, and later participated in annual Trowbridge and West Wiltshire Music Festivals, amongst others. Thomas also arranged and composed numerous pieces of music for these – and other – choirs (SATB), including many traditional Welsh and other melodies. One of his compositions was Samuel's Hymn, which he later recorded with The Silver Ring Choir of Bath. Other activities In addition to being a poet and composer, Thomas was also involved in several local and civic societies and organisations, including the Bathampton Historical Society, and was the author of works on local history. Thomas's lifelong involvement with Bathampton Methodist Church and musical career culminated, in 2013, in a fundraising concert held in his honour entitled My Life in Music during which his music, poetry, and compositions were performed. In 2017, aged 98, he again performed with The Silver Ring Choir of Bath in a Christmas Concert. Awards Thomas's notable local, national, and international activities and contribution to Music was recognised in his appointment as a Member of the Order of the British Empire (MBE) in the 1981 New Year Honours List. Personal life In 1942, Thomas married Megan Jones (1921–2012), and they had five children (two boys and three girls). Singing on the weekend before he died, Thomas died, aged 99, at the Royal United Hospital, Bath, on 14 June 2019. Bibliography Books Musical arrangements Compositions Discography References External links 2019 deaths British male conductors (music) Musicians from Cardiff 21st-century British conductors (music) 20th-century composers British composers 20th-century British musicians 1919 births Welsh conductors (music) Music directors Members of the Order of the British Empire 21st-century composers 21st-century British musicians 20th-century British male musicians 21st-century British male musicians
Stratusfaction was a Canadian music variety television series which aired on CBC Television in mid-1973. Premise Stratusfaction was an 18-member Calgary music group which performed throughout western Canada since 1971. They starred in this mid-year replacement series to perform theatrical and pop songs. Guest artists were featured in each episode except the final: Ed Evanko, Dianne Heatherington, Catherine McKinnon, Pat Rose and Diane Stapley. The series was recorded in Winnipeg on location at the Manitoba Theatre Centre during June 1973. Scheduling This half-hour series was broadcast Saturdays at 7:00 p.m. from 28 July to 8 September 1973. References External links CBC Television original programming 1973 Canadian television series debuts 1973 Canadian television series endings 1970s Canadian music television series
```java Uses of the `final` keyword Using `synchronized` statements Increase `PermGen` space as to avoid `OutOfMemory` errors Avoid using `static` variables Using an interface as a parameter ```
Funkspiel () was a German term describing a technique of transmission of controlled information over a captured agent's radio so that the agent's parent service had no knowledge that the agent had turned and decided to work for the enemy. It was a standard technique in radio counterintelligence and was used throughout the world. Definition The German term Funkspiel, Playbacks, the British term or the American term, G-V Game, was the transmission of controlled information over a captured agent's radio so that the agent's parent service had no knowledge that the agent had been turned and decided to work for the enemy. France Captured radio operators in France were forced to send false messages to British intelligence. That allowed Nazi intelligence to intercept Allied military information, convey disinformation to the enemy and actively fight resistance movements. By doing so, Nazi intelligence made the pretense of being the French resistance with a script written for the enemy by the Gestapo or the Abwehr. Operations were conducted at 84 Avenue Foch, the headquarters of the Sicherheitsdienst in Paris. The last false message exchanged with London in the operation was "Thank you for your collaboration and for the weapons that you sent us". However, Nazi intelligence was not aware that British intelligence had known about the stratagem for at least two weeks prior to the transmission. From May 1944 onwards the operation was not a success. A similar Funkspiel technique, called Operation Scherhorn, was executed by the Soviet NKVD against Nazi secret services from August 1944 to May 1945. Funkspiel also referred to a technique used by U-boat radio operators in which the frequency of transmission was changed consecutively to confuse Allied intelligence with the objective of picking up enemy transmissions on the original channel. References Counterintelligence Battles and operations of World War II involving Germany World War II deception operations Gestapo Abwehr operations Disinformation operations
```org #+TITLE: EmacSQL #+URL: path_to_url #+AUTHOR: lujun9972 #+CATEGORY: elisp-common #+DATE: [2016-07-06 10:49] release [[path_to_url Emacs package. EmacSQL EmacsSQL. SQLite,PostgreSQLMySQL. package[[path_to_url#/emacsql][MELPA]] ,. [[path_to_url package]] . packageElisp,SQLite,,. packageElisp,C,packageSQLiteEmacSQL. ,SQLite. ,EmacSQLElisp,Emacs. EmacSQLSQLite(),. [[path_to_url web, EmacSQL SQL. ,, ,. Emacs. ,SQLiteSQL,[[path_to_url SQLite]]. . * High-level SQL Compiler high-levelSQL. EmacSQLSSQL. ,SQL,EmacSQL. , #+BEGIN_SRC emacs-lisp (require 'emacsql) ;; Connect to the database, SQLite in this case: (defvar db (emacsql-connect "~/office.db")) ;; Create a table with 3 columns: (emacsql db [:create-table patients ([name (id integer :primary-key) (weight float)])]) ;; Insert a few rows: (emacsql db [:insert :into patients :values (["Jeff" 1000 184.2] ["Susan" 1001 118.9])]) ;; Query the database: (emacsql db [:select [name id] :from patients :where (< weight 150.0)]) ;; => (("Susan" 1001)) ;; Queries can be templates, using $s1, $i2, etc. as parameters: (emacsql db [:select [name id] :from patients :where (> weight $s1)] 100) ;; => (("Jeff" 1000) ("Susan" 1001)) #+END_SRC ,,. S. SSQLEmacSQL,. ,lispSQL, (row-oriented information), list, symbol. #+BEGIN_SRC emacs-lisp [:select [name weight] :from patients :where (< weight 150.0)] #+END_SRC : #+BEGIN_SRC sql SELECT name, weight FROM patients WHERE weight < 150.0; #+END_SRC , [[path_to_url#almost_everything_prints_readably][lisp]] . INTEGER,REAL, nilNULL,TEXT. . * Parameters $symbol. $ identifier (i), scalar (s), vector (v), schema (S) . #+BEGIN_SRC emacs-lisp [:select [$i1] :from $i2 :where (< $i3 $s4)] #+END_SRC symbol1: =name people age 21=, : #+BEGIN_SRC sql SELECT name FROM people WHERE age < 21; #+END_SRC IN. #+BEGIN_SRC emacs-lisp [:insert-into people [name age] :values $v1] #+END_SRC list: =(["Jim" 45] ["Jeff" 34])=, #+BEGIN_SRC sql INSERT INTO people (name, age) VALUES ('"Jim"', 45), ('"Jeff"', 34); #+END_SRC : #+BEGIN_SRC emacs-lisp [:select * :from tags :where (in tag $v1)] #+END_SRC =[hiking camping biking]=, #+BEGIN_SRC sql SELECT * FROM tags WHERE tag IN ('hiking', 'camping', 'biking'); #+END_SRC S, =emacsql-show-last-sql= minibufferSSQL. * Schemas ,(,(row-oriented information)). list. : #+BEGIN_SRC emacs-lisp ;; No constraints schema with four columns: ([name id building room]) ;; Add some column constraints: ([(name :unique) (id integer :primary-key) building room]) ;; Add some table constraints: ([(name :unique) (id integer :primary-key) building room] (:unique [building room]) (:check (> id 0))) #+END_SRC EmacSQL,,. ,, =defstrcut= . =$S= ("S"Schema). #+BEGIN_SRC emacs-lisp (defconst foo-schema-people '([(person-id integer :primary-key) name age])) ;; ... (defun foo-init (db) (emacsql db [:create-table $i1 $S2] 'people foo-schema-people)) #+END_SRC * Back-ends SQL. SQL,SQL. * SQLite Implementation Difficulties :PROPERTIES: :ID: j5q7j1903ah0 :END: ,Elisp[[path_to_urlpastebin webapp]]. SQLite,SQLite(sqlite3)Emacs. ,"tcl",. "csv". TEXT,. sqlite3,sqlite3. sqlite3Emacs. alexbenjmAndres Ramirez[[path_to_url ]]ElfeedSQLie. ,SQLite: TEXTElisp! =print-escape-newlines= nil, TEXT, =read= sqlite3. sqlite3. ,,: GNU Readline. Linux packagesqlite3Readline.Readline,Emacs. First, sqlite3 the command shell is not up to the same standards as SQLite the database. SQLite,BUG. sqlite3GNU Readline. sqlite3 =.echo= (,). BUGGNU Readlineeaho,Readline, =.echo= . =.echo= . * Pseudo-terminals ,PTY,Readline. , Readlinesqlite3. sqlite3. ,Windows[[path_to_url]], sqlite3(sqlite3bug). Readline,Readline. ASCII32. raw(PTY). Theres no escaping them. EmacsPTY(), . . =M-x sql-sqlite= (Emacs) ~0x1C~ . =C-q C-\= ,. . ( =process-connection-type= t),. ,sqlite3. PTYraw. ,Emacs, ~stty~ . , PTY ~stty~ , =start-process-shell-command= . #+BEGIN_SRC emacs-lisp (start-process-shell-command name buffer "stty raw && <your command>") #+END_SRC Windows ~stty~ ,PTY(PTY),. sqlite3,Readline,. [[path_to_url package,SQLite. sqlite3,. * A Custom SQLite Binary sqlite3. CSQLS. C,lisp,. C, ,Emacs =reader= . Emacs. =reader= Elisp. ,,C,(,). ,,EmacSQL. * Other Back-ends EmacSQLPostgreSQL MySQL,,(psql/mysql). sqlite3, =stty= PTYraw mode,. ,,,. , require =emacsql-psql= =emacsql-mysql=, =emacsql-connect= =emacsql-psql= =emacsql-mysql= (). emacsql-connection,API. EmacSQL. (EIEIO),,SQL. , if you use SQLite-ism (dynamic typing) it wont translate to either of the other databases should they be swapped in. API. PTY,. MySQL80. * EmacSQLs Future EmacSQLpackage. ,packageEmacSQL: pastebin demo Elfeed, packagehacker. EmacSQL. ,Elfeed. EmacSQLSQLite full-text search engine, ElfeedAPI. ,ElfeedAPIACID (shortsightedness on my part)! ```
Asgarabad (, also Romanized as ‘Asgarābād; also known as ‘Askarābād, Sa‘dābād Davān, and Sa‘dābād-e Davān) is a village in Deris Rural District, in the Central District of Kazerun County, Fars Province, Iran. At the 2006 census, its population was 685, in 126 families. References Populated places in Kazerun County
Kashipur Multilateral High School is a secondary school located in Khashipur Bazar, Sonaimuri Upazila, Noakhali District in south-eastern Bangladesh. It was established in 1957. Facilities The school facilities include a science laboratory as required for SSC examinations, and a library with audio-visual equipment. Programs Extra-curricular activities include drama, debating, and public speaking. School teams participate in inter-school and national competitions. Theatrical presentations are given in both English and Bengali. Other activities pursued by students include field trips, visits to exhibitions and museums, celebration of important national and historical events, and cultural programs. Participation in Community Service Programs, fund raising for natural disaster relief and campaigns to enhance awareness of health and environmental issues are also a part of school activities. Sports A sports program is part of the curriculum. All the school buildings have playing areas, and teachers supervise games classes. Senior Section students will use the facilities of the modern School Sports Complex shortly to be completed. References Educational institutions established in 1957 Schools in Noakhali District High schools in Bangladesh 1957 establishments in East Pakistan Sonaimuri Upazila
The Wiawso College of Education is a teacher education college in the Sefwi-Wiawso District, Western North Region, Ghana. The college participated in the DFID-funded T-TEL programme. It is affiliated to the University of Education, Winneba. Education In 2019, 385 student teachers graduated with a Diploma in Basic Education. History Wiawso College of Education (popularly called Legon of the West) traces its origin to Kumasi. The college was formally opened in 1952 under the name Wiawso Body Corporate Training College. The college pioneered with three tutorial staff and twenty nine students on February 13, 1952. Mr. J.T.N. Yankah who was the acting Principal, Mr. B. A. Quarcoo, senior house master, Mr. E. O. Nortey, tutor and Mr. R. S. A. Kwarteng as the college clerk. Otumfoo Sir Agyemang Prempeh II, the Asantehene, in the company of an interim board of the college paid a visit to the college on February 16, 1952, to add his royal blessings to the birth of WATICO. The Rt. Rev. John S.S. Dally, the then Anglican Bishop of Accra made available to the college the premises of the erstwhile St. Augustine's College for use by the college. The Anglican Day Training College in Accra was moved to Kumasi to be incorporated into Wiawso Training College. The college was renamed Wiawso Anglican Training College (WATICO). On 29 October 1964 the college was moved to Sefwi Wiawso (municipal district) in the Western Region. Female students were first admitted in 1974. The college started with a two–year Teacher's Certificate “B” course. In 1963 the course was extended to four years for the award of Teacher's Certificate “A”. The college later offered three year post- secondary certificate “A”. It was accredited as a tertiary institution in October 2007, and it is among fifteen quasi-specialist Colleges that offer Science, Mathematics and Technical Education for the award of Diploma in Basic education. The college has a total population of 687 students made up of 191 females and 507 males. The staff consists of 34’ teachers ably supported by 45 non-teaching staff. In 2014, the school campus hosted the National Farmer's Day celebrations. Students threatened to disrupt the ceremonies to protest delays in funding which they said were caused by corruption. Notable alumni In 2013 Nicholas Okota-Wilson, an alumnus of Wiawso College of Education, was judged the National Best Teacher Trainee in 2013 with a record-breaking GPA. See also List of colleges of education in Ghana External links Wiawso College of Education website References Universities and colleges established in 1952 1952 establishments in Gold Coast (British colony) Colleges of Education in Ghana Western North Region
Diablo Swing Orchestra, also shortened DSO, is a Swedish avant-garde metal band formed in 2003. They are known for having an eclectic sound, which fuses swing music with symphonic metal and progressive rock, among other genres. They have released five albums: The Butcher's Ballroom (2006), Sing Along Songs for the Damned & Delirious (2009), Pandora's Piñata (2012), Pacifisticuffs (2017), and Swagger & Stroll Down the Rabbit Hole (2021). Musical style and influences Diablo Swing Orchestra is known for its eclectic sound, mixing numerous influences, most prominently from heavy metal, rock, swing, progressive, and classical, although various other influences are frequently mentioned by critics. The band's style encompasses avant-garde metal, classical, jazz, swing, progressive rock and symphonic metal. The line-up features several instrumentalists uncommon for rock or metal bands, such as a cellist, a trumpeter, and a trombonist, while their albums often prominently feature string and brass sections. History Debut and The Butcher's Ballroom (2006–2009) The band was created in 2003 as a sextet. The original line-up consisted of singer Lisa Hansson, guitarists Daniel Håkansson and Pontus Mantefors, bass guitarist Anders "Andy" Johansson, cellist Johannes Bergion, and drummer Andreas Halvardsson. They released their first EP, Borderline Hymns, in 2003; two years later, Hansson left the band, and was replaced by AnnLouice Lögdlund. With Lögdlund, the band released their first album, The Butcher's Ballroom, in 2006. During recording, the band realized that some parts did not fit Lögdlund's voice; as such, Håkansson became the band's co-lead singer, with Mantefors also occasionally providing lead vocals. Through the band's official page on Myspace, they offered free downloads of a number of tracks from their debut album in promotion of The Butcher's Ballroom. The tracks released on the page were "Heroines", "Balrog Boogie" and "Poetic Pitbull Revolutions" — the latter of which was added to the playlist months later. The full album is offered free on Jamendo as of August 2016. In July 2008 the band played at Summer Breeze Open Air in Germany and in October 2008 at Metal Female Voices Fest in Belgium. Sing Along Songs for the Damned & Delirious (2009–2011) In early spring 2009, the band announced that they were returning to the studio, and made a number of cryptic video blogs to document their efforts. On June 30, 2009, they announced that the cover art for the album would be made by Swedish illustrator Peter Bergting, noted for being the author of The Portent. The track "A Tap Dancer's Dilemma" was made available through the band's Myspace page on July 7, 2009. They also announced that two Special Edition prints of the album would be available to pre-order along with the regular album. Both of the Special Edition copies came in an 8 panel digipak containing the CD, a 12-page booklet and a Bonus DVD. The Special Limited Edition was restricted to only 300 orders, and came with an additional pack of postcards, vinyl sticker, and a Dog Tag embossed with the band's logo and a number between 1–300, unique to the owner. Sing Along Songs for the Damned & Delirious was released on September 21, 2009, and on October 2 the band played a special album-launch gig at The Purple Turtle club in Camden, London. On January 18, 2010, Diablo Swing Orchestra announced that their drummer, Andreas Halvardsson, had stepped down from his role due to "personal reasons" and would be replaced by Petter Karlsson, best known for his work with Swedish metal act Therion. Diablo Swing Orchestra expected pre-production of their third album to begin towards the end of 2010. On July 17, 2010, the band played at Circo Volador, Mexico City. On August 14, 2010, the band played at Brutal Assault Open Air in the Czech Republic with the new lineup. In January, 2011, Sing Along Songs for the Damned & Delirious was nominated in the Eclectic Album category in The 10th Annual Independent Music Awards. The song "A Tap Dancer's Dilemma" was also nominated for the Metal/Hardcore category. Pandora's Piñata (2011–2014) On January 24, 2011, the band announced on Facebook that trumpeter Martin Isaksson and trombonist Daniel Hedin, who were both featured as guests on Sing Along Songs for the Damned & Delirious, had joined Diablo Swing Orchestra as full-time members. On October 9, 2011, the band revealed their third album title: Pandora's Piñata. On March 29, 2012, the band announced on Facebook that Petter Karlsson was leaving the band; he was still featured on the upcoming album, as he had already recorded all his parts. The band publicly thanked him "for all the fun times together as well as for all the hard work he has put into the band". Karlsson stated "DSO is a band which foundation is made from a bunch of great guys, with great ideas, great enthusiasm and 100% motivation. I just feel that I can’t mobilize that amount of greatness and enthusiasm, without having a bigger share of the artistic creation and in addition to limited financial gain. I just have too much other things going in my life right now. And I really want to continue working on my own projects. So therefore I leave the drum throne to someone who can put the right amount of energy into it. DSO deserve that". Johan Norbäck filled in as drummer for the rest of the ongoing tour, and eventually became a full-time member. On April 9, 2012, the band released the new album's first single, "Voodoo Mon Amour" through their Facebook page. Pandora's Piñata was released on May 14, 2012, in Europe, and May 22 in North America. It received rave reviews from music critics. On January 8, 2013, the band released the video from the song "Black Box Messiah". Pacifisticuffs (2014–2019) On August 16, 2014, the band announced that AnnLouice Lögdlund was leaving Diablo Swing Orchestra as a mutual decision, as her opera career "exceedingly has taken up more and more of her time". They also announced Kristin Evegård as her replacement, and that she would be featured on their upcoming single, "Jigsaw Hustle", which was released later that year. They immediately started working on their next album, Pacifisticuffs, which was recorded between July and October 2016, and set for a late 2016 release; it was eventually postponed for a year due to mixing issues, and was eventually released on December 8, 2017. It was preceded by two singles, "Knucklehugs" on November 3 and "The Age of Vulture Culture" on December 1, and included a re-recorded version of "Jigsaw Hustle". It received very positive reviews from critics, with particular praise going to Evegård's performance. After the release, the band resumed touring. On February 9, 2019, the band released a music video for the song "Superhero Jagganath" from Pacifisticuffs. Swagger & Stroll Down the Rabbit Hole (2019–present) The band shared that they had started working on their fifth studio album on their Facebook page on August 3, 2019, stating "12 songs in various stages of completion so far. Hoping to start recordings during the summer of 2020." On February 21, 2020, the band stated that recording for the new album would start on May 4 in Gothenburg. Two days later, they announced the album's title, Swagger & Stroll Down the Rabbit Hole. Recording for the album concluded on August 29, with the recording of the Hammond organ parts. It would consist of 13 tracks, including "¡Celebremos lo inevitable!", the band's first song in Spanish. Following COVID-19 related setbacks, the band stated in April 2021 that mastering was the only part of the album left to complete, and that they were hoping for a release the same year. On June 15, 2021, the band announced that the first single from the album would be released in August and the second in October, with the album itself set for a November 2021 release. Swagger & Stroll Down the Rabbit Hole was released on November 2, 2021, to critical acclaim. Mythology The origin of the name of the band is related on their website. The tongue-in-cheek back-story recounts a historically questionable ancestral story beginning in 16th-century Sweden. Supposedly, ancestors of the band members performed orchestral works in defiance of the ruling church at the time (possibly in reference to the newly installed protestant Lutheran national church, in power during the mid- and late 16th century). The orchestra was forced to go into hiding, performing in secret, with the assistance of oppressed peasants during the era. After years of performing for the pleasure of these peasants, the story claims that the church put a bounty on the performers' lives, and that this bounty was so high that the orchestra knew they would soon be captured, and thus chose to play a spectacular final show before becoming martyred to the church. Band members Current members Daniel Håkansson – guitar (2003–present), lead vocals (2005–present) Pontus Mantefors – guitar, synthesizer, FX (2003–present), vocals (2005–present) Anders "Andy" Johansson – bass (2003–present) Johannes Bergion – cello, backing vocals (2003–present) Martin Isaksson – trumpet, backing vocals (2011–present; session member: 2009–2011) Daniel Hedin – trombone, backing vocals (2011–present; session member: 2009–2011) Johan Norbäck – drums, percussion, backing vocals (2012–present) Kristin Evegård – lead vocals, piano (2014–present) Former members Lisa Hansson - lead vocals (2003–2005) Andreas Halvardsson – drums (2003–2010) AnnLouice Lögdlund – lead vocals (2005–2014) Petter Karlsson – drums, percussion (2010–2012) Timeline Discography Studio albums The Butcher's Ballroom (2006) Sing Along Songs for the Damned & Delirious (2009) Pandora's Piñata (2012) Pacifisticuffs (2017) Swagger & Stroll Down the Rabbit Hole (2021) EPs Borderline Hymns (2003) Singles "Voodoo Mon Amour" (2012) "Jigsaw Hustle" (2014) "Knucklehugs" (2017) "The Age of Vulture Culture" (2017) "War Painted Valentine" (2021) "Celebremos Lo Inevitable" (2021) "Speed Dating An Arsonist" (2021) References External links Official website Interview 2007 2003 establishments in Sweden Avant-garde metal musical groups Musical groups established in 2003 Musical octets Swedish jazz ensembles Swedish musical sextets Swedish progressive rock groups Swedish symphonic metal musical groups Swing revival ensembles
The Autostrada A53 is an Italian motorway which connects Bereguardo and Autostrada A7 to Pavia and its bypass motorway A54. References Autostrade in Italy Transport in Lombardy
```javascript var blogID = process.argv[2]; var addToUserID = process.argv[3]; var User = require("user"); var getUser = require("../get/user"); var getBlog = require("../get/blog"); if (!blogID) throw new Error("Please pass blog identifier as first argument"); if (!addToUserID) throw new Error( "Please pass user identifer to move the blog to as second argument" ); getBlog(blogID, function (err, user, blog, url) { if (err || !user || !blog) throw err || new Error("No blog with identifer " + blogID); getUser(addToUserID, function (err, newOwnerUser, newOwnerURL) { if (err || !user) throw err || new Error("No user with identifer " + addToUserID); if (user.blogs.indexOf(blog.id) === -1) throw err || new Error("User does not own this blog"); if (newOwnerUser.blogs.indexOf(blog.id) !== -1) throw err || new Error("New user already owns this blog"); // Remove blog from list of blogs controlled by existing owner user.blogs = user.blogs.filter(function (otherBlogID) { return otherBlogID !== blog.id; }); // Add blog to list of blogs controlled by new owner newOwnerUser.blogs.push(blog.id); User.set(user.uid, { blogs: user.blogs }, function (err) { if (err) throw err; User.set(newOwnerUser.uid, { blogs: newOwnerUser.blogs }, function (err) { if (err) throw err; console.log("Migration complete!"); console.log("Dashboard for:", user.email, url); console.log("Dashboard for:", newOwnerUser.email, newOwnerURL); console.log(""); console.log("Warning!"); console.log("This did not affect the user's subscription settings"); console.log("Make sure to adjust their bill"); process.exit(); }); }); }); }); ```
Sadat-e Mohammad Ebrahim (, also Romanized as Sādāt-e Moḩammad Ebrāhīm) is a village in Donbaleh Rud-e Shomali Rural District, Dehdez District, Izeh County, Khuzestan Province, Iran. At the 2006 census, its population was 55, in 9 families. References Populated places in Izeh County
```asciidoc //// This file is generated by DocsTest, so don't change it! //// = apoc.refactor.mergeNodes :description: This section contains reference documentation for the apoc.refactor.mergeNodes procedure. label:procedure[] label:apoc-core[] [.emphasis] apoc.refactor.mergeNodes([node1,node2],[{properties:'overwrite' or 'discard' or 'combine'}]) merge nodes onto first in list == Signature [source] ---- apoc.refactor.mergeNodes(nodes :: LIST? OF NODE?, config = {} :: MAP?) :: (node :: NODE?) ---- == Input parameters [.procedures, opts=header] |=== | Name | Type | Default |nodes|LIST? OF NODE?|null |config|MAP?|{} |=== == Output parameters [.procedures, opts=header] |=== | Name | Type |node|NODE? |=== [[usage-apoc.refactor.mergeNodes]] == Usage Examples include::partial$usage/apoc.refactor.mergeNodes.adoc[] xref::graph-updates/graph-refactoring/merge-nodes.adoc[More documentation of apoc.refactor.mergeNodes,role=more information] ```
The Museum of Samarra is under construction. It consists of three buildings built on a property of 227,700 square meters, costing 17 billion Iraqi dinars. Construction The construction of the museum started in 2014. It consists of three buildings: the first building has a basement and two floors. The second building consists of two parts. The first part consists of a basement, a ground floor and an upper floor, while the second has floors with no basement. The third building is an open area that includes architectural works. References Archaeological museums Museums in Iraq 2014 establishments in Iraq Samarra
```yaml version: "3" services: next: build: . command: ["npm", "run", "dev"] ports: - "3000:3000" environment: - NEXT_PUBLIC_FLIPT_ADDR=path_to_url - FLIPT_ADDR=path_to_url depends_on: - flipt networks: - flipt_network init: image: flipt/flipt:latest command: ["./flipt", "import", "flipt.yml"] environment: - FLIPT_LOG_LEVEL=debug - FLIPT_META_TELEMETRY_ENABLED=false volumes: - "./flipt.yml:/flipt.yml" - "flipt_data:/var/opt/flipt" flipt: image: flipt/flipt:latest command: ["./flipt", "--force-migrate"] depends_on: - init ports: - "8080:8080" environment: - FLIPT_LOG_LEVEL=debug - FLIPT_META_TELEMETRY_ENABLED=false - FLIPT_CORS_ENABLED=true volumes: - "flipt_data:/var/opt/flipt" networks: - flipt_network volumes: flipt_data: networks: flipt_network: ```
Värnamo Municipality (Värnamo kommun) is a municipality in Jönköping County in southern Sweden, where the town Värnamo is seat. The municipality was created in 1971, when the City of Värnamo (itself instituted in 1920) was amalgamated with the surrounding rural municipalities to form an entity of unitary type. There are fourteen original units making up the present municipality. Geography Governance Värnamo Municipality has been governed by the Moderate Party, the Centre Party and the Christian Democrats since at least 1994, with the addition of the Liberals in 2002 and the Green Party 2014–2018. The Social Democratic Party has been the largest party every year since the formation of the municipality, with an average of 34 percent of the votes. The Centre Party (of which the then national leader, Annie Lööf, is from Värnamo) and the Christian Democrats were unusually strong, and received more than twice as many votes as the national average in the 2018 elections. References External links Värnamo kommun - official website Municipalities of Jönköping County
```java package com.brianway.webporter.configure; import com.brianway.webporter.BaseTest; import org.junit.Assert; import org.junit.Test; import us.codecraft.webmagic.Site; public class BasicConfigurationTest extends BaseTest { @Test public void testGetConfiguration() { String configPath = rootDir + "basic-config.json"; int retryTimes = 3; String domain = "www.zhihu.com"; String baseDir = "/Users/brian/zhihu-crawl/"; BasicConfiguration basicConfig = new BasicConfiguration(configPath); Site site = basicConfig.getSite(); Assert.assertNotNull(site); Assert.assertEquals(domain, site.getDomain()); Assert.assertEquals(retryTimes, site.getRetryTimes()); Assert.assertEquals(baseDir, basicConfig.getBaseDir()); } } ```
Dobrogoszcz may refer to the following places in Poland: Dobrogoszcz, Lower Silesian Voivodeship (south-west Poland) Dobrogoszcz, Wałcz County in West Pomeranian Voivodeship (north-west Poland) Dobrogoszcz, Podlaskie Voivodeship (north-east Poland) Dobrogoszcz, Pomeranian Voivodeship (north Poland) Dobrogoszcz, Szczecinek County in West Pomeranian Voivodeship (north-west Poland)
```ruby # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # # path_to_url # # Unless required by applicable law or agreed to in writing, # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # specific language governing permissions and limitations class TestCSVReader < Test::Unit::TestCase include Helper::Buildable include Helper::Omittable sub_test_case("#read") do def open_input(csv) buffer = Arrow::Buffer.new(csv) Arrow::BufferInputStream.new(buffer) end def test_default table = Arrow::CSVReader.new(open_input(<<-CSV)) message,count "Start",2 "Shutdown",9 CSV columns = { "message" => build_string_array(["Start", "Shutdown"]), "count" => build_int64_array([2, 9]), } assert_equal(build_table(columns), table.read) end sub_test_case("options") do def test_add_column_type options = Arrow::CSVReadOptions.new options.add_column_type("count", Arrow::UInt8DataType.new) options.add_column_type("valid", Arrow::BooleanDataType.new) table = Arrow::CSVReader.new(open_input(<<-CSV), options) count,valid 2,1 9,0 CSV columns = { "count" => build_uint8_array([2, 9]), "valid" => build_boolean_array([true, false]), } assert_equal(build_table(columns), table.read) end def test_add_schema options = Arrow::CSVReadOptions.new fields = [ Arrow::Field.new("count", Arrow::UInt8DataType.new), Arrow::Field.new("valid", Arrow::BooleanDataType.new), ] schema = Arrow::Schema.new(fields) options.add_schema(schema) table = Arrow::CSVReader.new(open_input(<<-CSV), options) count,valid 2,1 9,0 CSV columns = { "count" => build_uint8_array([2, 9]), "valid" => build_boolean_array([true, false]), } assert_equal(build_table(columns), table.read) end def test_column_types require_gi_bindings(3, 3, 1) options = Arrow::CSVReadOptions.new options.add_column_type("count", Arrow::UInt8DataType.new) options.add_column_type("valid", Arrow::BooleanDataType.new) assert_equal({ "count" => Arrow::UInt8DataType.new, "valid" => Arrow::BooleanDataType.new, }, options.column_types) end def test_null_values options = Arrow::CSVReadOptions.new null_values = ["2", "5"] options.null_values = null_values assert_equal(null_values, options.null_values) table = Arrow::CSVReader.new(open_input(<<-CSV), options) message,count "Start",2 "Shutdown",9 "Restart",5 CSV columns = { "message" => build_string_array(["Start", "Shutdown", "Restart"]), "count" => build_int64_array([nil, 9, nil]), } assert_equal(build_table(columns), table.read) end def test_add_null_value options = Arrow::CSVReadOptions.new null_values = ["2", "5"] options.null_values = null_values options.add_null_value("9") assert_equal(null_values + ["9"], options.null_values) end def test_boolean_values options = Arrow::CSVReadOptions.new true_values = ["Start", "Restart"] options.true_values = true_values assert_equal(true_values, options.true_values) false_values = ["Shutdown"] options.false_values = false_values assert_equal(false_values, options.false_values) table = Arrow::CSVReader.new(open_input(<<-CSV), options) message,count "Start",2 "Shutdown",9 "Restart",5 CSV columns = { "message" => build_boolean_array([true, false, true]), "count" => build_int64_array([2, 9, 5]), } assert_equal(build_table(columns), table.read) end def test_add_true_value options = Arrow::CSVReadOptions.new true_values = ["Start", "Restart"] options.true_values = true_values options.add_true_value("Shutdown") assert_equal(true_values + ["Shutdown"], options.true_values) end def test_add_false_value options = Arrow::CSVReadOptions.new false_values = ["Start", "Restart"] options.false_values = false_values options.add_false_value("Shutdown") assert_equal(false_values + ["Shutdown"], options.false_values) end def test_allow_null_strings options = Arrow::CSVReadOptions.new options.null_values = ["Start", "Restart"] options.allow_null_strings = true table = Arrow::CSVReader.new(open_input(<<-CSV), options) message,count "Start",2 "Shutdown",9 "Restart",5 CSV columns = { "message" => build_string_array([nil, "Shutdown", nil]), "count" => build_int64_array([2, 9, 5]), } assert_equal(build_table(columns), table.read) end def test_n_skip_rows options = Arrow::CSVReadOptions.new options.n_skip_rows = 1 table = Arrow::CSVReader.new(open_input(<<-CSV), options) message1,message2 "Start1","Start2" "Shutdown1","Shutdown2" "Reboot1","Reboot2" CSV columns = { "Start1" => build_string_array(["Shutdown1", "Reboot1"]), "Start2" => build_string_array(["Shutdown2", "Reboot2"]), } assert_equal(build_table(columns), table.read) end def test_column_names options = Arrow::CSVReadOptions.new column_names = ["message", "count"] options.column_names = column_names assert_equal(column_names, options.column_names) table = Arrow::CSVReader.new(open_input(<<-CSV), options) "Start",2 "Shutdown",9 "Reboot",5 CSV columns = { "message" => build_string_array(["Start", "Shutdown", "Reboot"]), "count" => build_int64_array([2, 9, 5]), } assert_equal(build_table(columns), table.read) end def test_add_column_name options = Arrow::CSVReadOptions.new column_names = ["message", "count"] options.column_names = column_names options.add_column_name("score") assert_equal(column_names + ["score"], options.column_names) end def test_generate_column_names options = Arrow::CSVReadOptions.new options.generate_column_names = true table = Arrow::CSVReader.new(open_input(<<-CSV), options) "Start",2 "Shutdown",9 "Reboot",5 CSV columns = { "f0" => build_string_array(["Start", "Shutdown", "Reboot"]), "f1" => build_int64_array([2, 9, 5]), } assert_equal(build_table(columns), table.read) end def test_timestamp_parsers options = Arrow::CSVReadOptions.new assert_equal([], options.timestamp_parsers) iso8601_timestamp_parser = Arrow::ISO8601TimestampParser.new options.timestamp_parsers = [iso8601_timestamp_parser] assert_equal([iso8601_timestamp_parser], options.timestamp_parsers) date_timestamp_parser = Arrow::StrptimeTimestampParser.new("%Y-%m-%d") options.add_timestamp_parser(date_timestamp_parser) assert_equal([iso8601_timestamp_parser, date_timestamp_parser], options.timestamp_parsers) end end end end ```
Sødal is a neighbourhood in the city of Kristiansand in Agder county, Norway. It's located in the Lund borough on the east bank of river Otra. Previously it has been farmed and a limestone quarry and a still existing lime kiln located at Sødal. In 1803, four aggressive wolves were caught in outlying areas. Sødal is currently a residential area. At the Torridalsveien (County Road 1) there is a tollgate which is a part of the toll ring around Kristiansand. References Populated places in Agder Neighbourhoods of Kristiansand Geography of Kristiansand
```ruby # frozen_string_literal: true module Kafka module Protocol class OffsetFetchRequest def initialize(group_id:, topics:) @group_id = group_id @topics = topics end def api_key OFFSET_FETCH_API end # setting topics to nil fetches all offsets for a consumer group # and that feature is only available in API version 2+ def api_version @topics.nil? ? 2 : 1 end def response_class OffsetFetchResponse end def encode(encoder) encoder.write_string(@group_id) encoder.write_array(@topics) do |topic, partitions| encoder.write_string(topic) encoder.write_array(partitions) do |partition| encoder.write_int32(partition) end end end end end end ```
Sir Richard Couch (17 May 1817 – 28 November 1905) was an Anglo-Indian judge who served on the colonial courts of India and also on the Judicial Committee of the Privy Council, at that time the court of last resort for the British Empire. Couch was appointed Chief Justice of the High Court of Bombay in 1866. He served for four years in that position, before being appointed Chief Justice of the High Court of Calcutta, serving in that post from 1870 to 1875. Upon his retirement from the High Court of Calcutta, Couch was appointed to the Judicial Committee of the Privy Council in 1881. He sat on numerous appeals from India and Canada. References 1817 births 1905 deaths 19th-century English judges Members of the Judicial Committee of the Privy Council Chief Justices of the Bombay High Court Chief Justices of the Calcutta High Court British India judges Members of the Privy Council of the United Kingdom Knights Bachelor
Harpreet Sawhney is an American electrical engineer at SRI International in West Windsor, New Jersey. He was named a Fellow of the Institute of Electrical and Electronics Engineers (IEEE) in 2012 for his work with video algorithms. References Fellow Members of the IEEE Living people Year of birth missing (living people) Place of birth missing (living people) American electrical engineers
```javascript 'use strict'; const common = require('../common.js'); const bench = common.createBenchmark(main, { n: [1], breakOnSigint: [0, 1], withSigintListener: [0, 1] }); const vm = require('vm'); function main({ n, breakOnSigint, withSigintListener }) { const options = breakOnSigint ? { breakOnSigint: true } : {}; process.removeAllListeners('SIGINT'); if (withSigintListener) process.on('SIGINT', () => {}); bench.start(); for (let i = 0; i < n; i++) vm.runInThisContext('0', options); bench.end(n); } ```
George Elliott (died July 1844) was an Irish-born farmer and political figure in Upper Canada. He represented Durham in the Legislative Assembly of Upper Canada from 1836 to 1841 as a Conservative. Elliott lived in Monaghan Township. He was a captain and then major in the Durham militia and also served as a justice of the peace for the Newcastle District. Elliott was an Anglican. He died in Monghan Township. References Year of birth missing 1844 deaths Members of the Legislative Assembly of Upper Canada Canadian justices of the peace
```go // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package riff import ( "bytes" "testing" ) func encodeU32(u uint32) []byte { return []byte{ byte(u >> 0), byte(u >> 8), byte(u >> 16), byte(u >> 24), } } func TestShortChunks(t *testing.T) { // s is a RIFF(ABCD) with allegedly 256 bytes of data (excluding the // leading 8-byte "RIFF\x00\x01\x00\x00"). The first chunk of that ABCD // list is an abcd chunk of length m followed by n zeroes. for _, m := range []uint32{0, 8, 15, 200, 300} { for _, n := range []int{0, 1, 2, 7} { s := []byte("RIFF\x00\x01\x00\x00ABCDabcd") s = append(s, encodeU32(m)...) s = append(s, make([]byte, n)...) _, r, err := NewReader(bytes.NewReader(s)) if err != nil { t.Errorf("m=%d, n=%d: NewReader: %v", m, n, err) continue } _, _, _, err0 := r.Next() // The total "ABCD" list length is 256 bytes, of which the first 12 // bytes are "ABCDabcd" plus the 4-byte encoding of m. If the // "abcd" subchunk length (m) plus those 12 bytes is greater than // the total list length, we have an invalid RIFF, and we expect an // errListSubchunkTooLong error. if m+12 > 256 { if err0 != errListSubchunkTooLong { t.Errorf("m=%d, n=%d: Next #0: got %v, want %v", m, n, err0, errListSubchunkTooLong) } continue } // Otherwise, we expect a nil error. if err0 != nil { t.Errorf("m=%d, n=%d: Next #0: %v", m, n, err0) continue } _, _, _, err1 := r.Next() // If m > 0, then m > n, so that "abcd" subchunk doesn't have m // bytes of data. If m == 0, then that "abcd" subchunk is OK in // that it has 0 extra bytes of data, but the next subchunk (8 byte // header plus body) is missing, as we only have n < 8 more bytes. want := errShortChunkData if m == 0 { want = errShortChunkHeader } if err1 != want { t.Errorf("m=%d, n=%d: Next #1: got %v, want %v", m, n, err1, want) continue } } } } ```
Reservoir Songs is an EP recorded by the indie rock band Crooked Fingers and released in 2002. A five song EP which collects some of the band's favorite covers which they had been playing for the past couple of years on tour, it marks the first release for Crooked Fingers on the Merge Records label. It was recorded January 11–15, 2002 in Atlanta, GA and mastered by John Golden with additional production by Andy Baker. Track listing "Sunday Morning Coming Down " (Kris Kristofferson) "Solitary Man" (Neil Diamond) "When You Were Mine" (Prince) "The River" (Bruce Springsteen) "Under Pressure" (Queen w/ Bowie) Crooked Fingers albums 2002 EPs Merge Records EPs Covers EPs
```java package com.ctrip.xpipe.redis.meta.server.meta; import com.ctrip.xpipe.api.lifecycle.Releasable; import com.fasterxml.jackson.annotation.JsonTypeInfo; @JsonTypeInfo(use= JsonTypeInfo.Id.MINIMAL_CLASS) public interface CurrentShardMeta extends Releasable { void addResource(Releasable releasable); } ```
The October 1888 Merthyr Tydfil by-election was a parliamentary by-election held for the House of Commons constituency of Merthyr Tydfil in Wales on 26 October 1888. Vacancy The by-election was caused by the death of the sitting Liberal MP, Henry Richard on 20 August 1888. Candidates Two candidates nominated. The Liberal Party (UK) nominated Baptist Minister Richard Foulkes Griffiths. Welsh solicitor, mine owner, and company promoter William Pritchard-Morgan ran as an Independent Liberal Results References 1888 elections in the United Kingdom By-elections to the Parliament of the United Kingdom in Welsh constituencies 1888 in Wales 1880s elections in Wales October 1888 events Politics of Merthyr Tydfil
Freepsum is a village in the region of East Frisia in Lower Saxony, Germany. The village has 437 inhabitants (2006) and lies about ten kilometres northwest of the seaport of Emden. It is part of the municipality of Krummhörn Freepsum was an independent parish until the foundation of the municipality of Krummhörn as part of the Lower Saxony municipal reforms in 1972. Today the village is one of the 19 parishes in the Krummhörn, as the municipality is colloquially called. Immediately southeast of the village is the Freepsum Sea or , a former inland lake that has since been drained. The lowest point of the resulting hollow was for a long time the lowest point in Germany, at 2.5 metres below sea level, but has since been superseded in that respect by a point in Neuendorf-Sachsenbande which has officially been measured at 3.5 metres below Normalnull. The Church of Freepsum was built in the 13th century. Gallery References External links Krummhörn Villages in Lower Saxony Towns and villages in East Frisia
```python from unittest import mock from boto3 import client from moto import mock_aws from tests.providers.aws.utils import ( AWS_REGION_EU_WEST_1, AWS_REGION_US_EAST_1, set_mocked_aws_provider, ) class Test_ec2_networkacl_allow_ingress_any_port: @mock_aws def test_ec2_default_nacls(self): from prowler.providers.aws.services.ec2.ec2_service import EC2 aws_provider = set_mocked_aws_provider( [AWS_REGION_EU_WEST_1, AWS_REGION_US_EAST_1] ) with mock.patch( "prowler.providers.common.provider.Provider.get_global_provider", return_value=aws_provider, ), mock.patch( "prowler.providers.aws.services.ec2.ec2_networkacl_allow_ingress_any_port.ec2_networkacl_allow_ingress_any_port.ec2_client", new=EC2(aws_provider), ): # Test Check from prowler.providers.aws.services.ec2.ec2_networkacl_allow_ingress_any_port.ec2_networkacl_allow_ingress_any_port import ( ec2_networkacl_allow_ingress_any_port, ) check = ec2_networkacl_allow_ingress_any_port() result = check.execute() # One default nacl per region assert len(result) == 2 @mock_aws def test_ec2_non_default_compliant_nacl(self): from prowler.providers.aws.services.ec2.ec2_service import EC2 aws_provider = set_mocked_aws_provider( [AWS_REGION_EU_WEST_1, AWS_REGION_US_EAST_1] ) with mock.patch( "prowler.providers.common.provider.Provider.get_global_provider", return_value=aws_provider, ), mock.patch( "prowler.providers.aws.services.ec2.ec2_networkacl_allow_ingress_any_port.ec2_networkacl_allow_ingress_any_port.ec2_client", new=EC2(aws_provider), ): # Test Check from prowler.providers.aws.services.ec2.ec2_networkacl_allow_ingress_any_port.ec2_networkacl_allow_ingress_any_port import ( ec2_networkacl_allow_ingress_any_port, ) check = ec2_networkacl_allow_ingress_any_port() result = check.execute() # One default sg per region assert len(result) == 2 # by default nacls are public assert result[0].status == "FAIL" assert result[0].region in (AWS_REGION_US_EAST_1, "eu-west-1") assert result[0].resource_tags == [] assert ( result[0].status_extended == f"Network ACL {result[0].resource_id} has every port open to the Internet." ) @mock_aws def test_ec2_non_compliant_nacl(self): # Create EC2 Mocked Resources ec2_client = client("ec2", region_name=AWS_REGION_US_EAST_1) vpc_id = ec2_client.create_vpc(CidrBlock="10.0.0.0/16")["Vpc"]["VpcId"] nacl_id = ec2_client.create_network_acl(VpcId=vpc_id)["NetworkAcl"][ "NetworkAclId" ] ec2_client.create_network_acl_entry( NetworkAclId=nacl_id, RuleNumber=100, Protocol="-1", RuleAction="allow", Egress=False, CidrBlock="0.0.0.0/0", ) from prowler.providers.aws.services.ec2.ec2_service import EC2 aws_provider = set_mocked_aws_provider( [AWS_REGION_EU_WEST_1, AWS_REGION_US_EAST_1] ) with mock.patch( "prowler.providers.common.provider.Provider.get_global_provider", return_value=aws_provider, ), mock.patch( "prowler.providers.aws.services.ec2.ec2_networkacl_allow_ingress_any_port.ec2_networkacl_allow_ingress_any_port.ec2_client", new=EC2(aws_provider), ): # Test Check from prowler.providers.aws.services.ec2.ec2_networkacl_allow_ingress_any_port.ec2_networkacl_allow_ingress_any_port import ( ec2_networkacl_allow_ingress_any_port, ) check = ec2_networkacl_allow_ingress_any_port() result = check.execute() # One default sg per region + default of new VPC + new NACL assert len(result) == 4 # Search changed sg for nacl in result: if nacl.resource_id == nacl_id: assert nacl.status == "FAIL" assert result[0].region in (AWS_REGION_US_EAST_1, "eu-west-1") assert result[0].resource_tags == [] assert ( nacl.status_extended == f"Network ACL {nacl_id} has every port open to the Internet." ) assert ( nacl.resource_arn == f"arn:{aws_provider.identity.partition}:ec2:{AWS_REGION_US_EAST_1}:{aws_provider.identity.account}:network-acl/{nacl_id}" ) @mock_aws def test_ec2_compliant_nacl(self): # Create EC2 Mocked Resources ec2_client = client("ec2", region_name=AWS_REGION_US_EAST_1) vpc_id = ec2_client.create_vpc(CidrBlock="10.0.0.0/16")["Vpc"]["VpcId"] nacl_id = ec2_client.create_network_acl(VpcId=vpc_id)["NetworkAcl"][ "NetworkAclId" ] ec2_client.create_network_acl_entry( NetworkAclId=nacl_id, RuleNumber=100, Protocol="-1", RuleAction="allow", Egress=False, CidrBlock="10.0.0.2/32", ) from prowler.providers.aws.services.ec2.ec2_service import EC2 aws_provider = set_mocked_aws_provider( [AWS_REGION_EU_WEST_1, AWS_REGION_US_EAST_1] ) with mock.patch( "prowler.providers.common.provider.Provider.get_global_provider", return_value=aws_provider, ), mock.patch( "prowler.providers.aws.services.ec2.ec2_networkacl_allow_ingress_any_port.ec2_networkacl_allow_ingress_any_port.ec2_client", new=EC2(aws_provider), ): # Test Check from prowler.providers.aws.services.ec2.ec2_networkacl_allow_ingress_any_port.ec2_networkacl_allow_ingress_any_port import ( ec2_networkacl_allow_ingress_any_port, ) check = ec2_networkacl_allow_ingress_any_port() result = check.execute() # One default sg per region + default of new VPC + new NACL assert len(result) == 4 # Search changed sg for nacl in result: if nacl.resource_id == nacl_id: assert nacl.status == "PASS" assert result[0].region in (AWS_REGION_US_EAST_1, "eu-west-1") assert result[0].resource_tags == [] assert ( nacl.status_extended == f"Network ACL {nacl_id} does not have every port open to the Internet." ) assert ( nacl.resource_arn == f"arn:{aws_provider.identity.partition}:ec2:{AWS_REGION_US_EAST_1}:{aws_provider.identity.account}:network-acl/{nacl_id}" ) @mock_aws def test_ec2_non_compliant_nacl_ignoring(self): # Create EC2 Mocked Resources ec2_client = client("ec2", region_name=AWS_REGION_US_EAST_1) vpc_id = ec2_client.create_vpc(CidrBlock="10.0.0.0/16")["Vpc"]["VpcId"] nacl_id = ec2_client.create_network_acl(VpcId=vpc_id)["NetworkAcl"][ "NetworkAclId" ] ec2_client.create_network_acl_entry( NetworkAclId=nacl_id, RuleNumber=100, Protocol="-1", RuleAction="allow", Egress=False, CidrBlock="0.0.0.0/0", ) from prowler.providers.aws.services.ec2.ec2_service import EC2 aws_provider = set_mocked_aws_provider( [AWS_REGION_EU_WEST_1, AWS_REGION_US_EAST_1], scan_unused_services=False, ) with mock.patch( "prowler.providers.common.provider.Provider.get_global_provider", return_value=aws_provider, ), mock.patch( "prowler.providers.aws.services.ec2.ec2_networkacl_allow_ingress_any_port.ec2_networkacl_allow_ingress_any_port.ec2_client", new=EC2(aws_provider), ): # Test Check from prowler.providers.aws.services.ec2.ec2_networkacl_allow_ingress_any_port.ec2_networkacl_allow_ingress_any_port import ( ec2_networkacl_allow_ingress_any_port, ) check = ec2_networkacl_allow_ingress_any_port() result = check.execute() assert len(result) == 0 @mock_aws def test_ec2_non_compliant_nacl_ignoring_with_sgs(self): # Create EC2 Mocked Resources ec2_client = client("ec2", region_name=AWS_REGION_US_EAST_1) vpc_id = ec2_client.create_vpc(CidrBlock="10.0.0.0/16")["Vpc"]["VpcId"] nacl_id = ec2_client.create_network_acl(VpcId=vpc_id)["NetworkAcl"][ "NetworkAclId" ] ec2_client.create_network_acl_entry( NetworkAclId=nacl_id, RuleNumber=100, Protocol="-1", RuleAction="allow", Egress=False, CidrBlock="0.0.0.0/0", ) ec2_client.create_security_group(GroupName="sg", Description="test") from prowler.providers.aws.services.ec2.ec2_service import EC2 aws_provider = set_mocked_aws_provider( [AWS_REGION_EU_WEST_1, AWS_REGION_US_EAST_1], scan_unused_services=False, ) with mock.patch( "prowler.providers.common.provider.Provider.get_global_provider", return_value=aws_provider, ), mock.patch( "prowler.providers.aws.services.ec2.ec2_networkacl_allow_ingress_any_port.ec2_networkacl_allow_ingress_any_port.ec2_client", new=EC2(aws_provider), ): # Test Check from prowler.providers.aws.services.ec2.ec2_networkacl_allow_ingress_any_port.ec2_networkacl_allow_ingress_any_port import ( ec2_networkacl_allow_ingress_any_port, ) check = ec2_networkacl_allow_ingress_any_port() result = check.execute() # One default sg per region + default of new VPC + new NACL assert len(result) == 3 # Search changed sg for nacl in result: if nacl.resource_id == nacl_id: assert nacl.status == "FAIL" assert result[0].region in (AWS_REGION_US_EAST_1, "eu-west-1") assert result[0].resource_tags == [] assert ( nacl.status_extended == f"Network ACL {nacl_id} has every port open to the Internet." ) assert ( nacl.resource_arn == f"arn:{aws_provider.identity.partition}:ec2:{AWS_REGION_US_EAST_1}:{aws_provider.identity.account}:network-acl/{nacl_id}" ) ```
```yaml build: template_file: test-linux-opt-base.tyml docker_image: "ubuntu:16.04" dependencies: - "linux-amd64-cpu-opt" - "test-training_16k-linux-amd64-py36m-opt" test_model_task: "test-training_16k-linux-amd64-py36m-opt" system_setup: > ${nodejs.packages_xenial.prep_12} && ${nodejs.packages_xenial.apt_pinning} && apt-get -qq update && apt-get -qq -y install ${nodejs.packages_xenial.apt} ${electronjs.packages_xenial.apt} args: tests_cmdline: "${system.homedir.linux}/DeepSpeech/ds/taskcluster/tc-electron-tests.sh 12.x 11.0.0 16k" workerType: "${docker.dsTests}" metadata: name: "DeepSpeech Linux AMD64 CPU ElectronJS v11.0 tests (16kHz)" description: "Testing DeepSpeech for Linux/AMD64 on ElectronJS v11.0, CPU only, optimized version (16kHz)" ```
WFTS-TV (channel 28), branded as ABC Action News, is a television station licensed to Tampa, Florida, United States, serving the Tampa Bay area as an affiliate of ABC. It is owned by the E.W. Scripps Company alongside Bradenton-licensed Ion Television station WXPX-TV (channel 66). WFTS-TV's studios are located on North Himes Avenue on Tampa's northwest side, and its transmitter is located in Riverview, Florida. Channel 28 was launched as the Tampa Bay area's second independent television station in December 1981 by a company that went on to become Family Group Broadcasting. It was purchased by Capital Cities Communications in 1984, though Capital Cities quickly sold it to Scripps the following year after it purchased the ABC television network. WFTS-TV became an affiliate of Fox in 1988. A multi-market affiliation switch in 1994 saw WFTS-TV become Tampa Bay's ABC affiliate. The network attempted to disaffiliate from WWSB, its affiliate in Sarasota, but that station was ultimately allowed to remain with the network. To start local newscasts, channel 28 was forced to rent studio space in Clearwater. The newscasts debuted in fourth place in the market but have been more competitive since. In 1996, Scripps completed construction on the present studio facilities near Raymond James Stadium; the building accommodates the news department and is large enough that several business functions for the entire station group are run from Tampa. History A channel 28 construction permit was first issued to Lucille Frostman, involved in the construction of WSMS-TV in Fort Lauderdale, in 1966, for a station to be called WTSS-TV; this was never built, and the permit was deleted in 1971. Applications for a new channel 28 station in Tampa were received again in 1977, with the Christian Television Network the first to bid, followed by a group proposing a Spanish-language station; Family Television Corporation of Tampa, also of a Christian orientation; and Suncoast Telechoice, associated with subscription television equipment manufacturer Blonder Tongue Labs. Christian Television dropped out, amended its application to specify channel 22 at Clearwater, and won a construction permit for WCLF in February 1979. The other two parties dropped out in settlement agreements in early 1981, and Family received a construction permit in March. Family stockholders included T. Terrell Sessums, former speaker of the Florida House of Representatives, and former state senate president Louis A. de la Parte Jr. As an independent station WFTS first signed on the air on December 14, 1981, operating as a family-oriented independent station with cartoons, off-network dramas, classic movies and religious programs. Its call letters originally stood for "Family Television Station". In 1984, after having launched the station for just $6 million and turning a profit in the first year, Family sold the station to Capital Cities Communications for more than $30 million. The deal gave Capital Cities its first station in Florida and its first (and only) independent, as well as bringing the group to its then-maximum of seven stations. Under Capital Cities, the station added more off-network sitcoms and reduced the number of religious programs and drama series on its schedule, improving ratings against established Tampa Bay independent WTOG. In March 1985, Capital Cities stunned the broadcasting industry with its announced purchase of ABC—a network that was ten times bigger than Capital Cities was at the time. In addition to WFTS-TV, Capital Cities owned four ABC and two CBS affiliates (which would change to ABC after the merger). The combination of Cap Cities and ABC exceeded the new ownership limit of 12 stations and the 25% national reach limit, so the companies opted to sell WFTS; WXYZ-TV, the ABC-owned station in Detroit; and Cap Cities-owned ABC affiliates WKBW-TV in Buffalo and WTNH in New Haven, Connecticut; WFTS and WXYZ-TV were sold to Scripps. Scripps continued the general-entertainment format on WFTS, running cartoons, sitcoms, movies and drama series. WFTS became the Tampa Bay market's Fox affiliate on August 8, 1988, after the network was dropped by WTOG. As an ABC affiliate On May 23, 1994, New World Communications signed an affiliation agreement with Fox that resulted in twelve of New World's stations, including Tampa Bay's longtime CBS affiliate WTVT (channel 13), being tapped to switch to the network. Among the stations making the switch were longtime CBS affiliates WJBK-TV in Detroit and WJW-TV in Cleveland. Not wanting to be relegated to the UHF band, CBS heavily wooed Detroit's longtime ABC affiliate, WXYZ, as well as Cleveland's longtime ABC affiliate, WEWS-TV. Both were owned by Scripps, who told ABC that it would switch WXYZ and WEWS to CBS unless ABC affiliated with three of its stations: WFTS, KNXV-TV in Phoenix (which was also slated to lose its Fox affiliation to New World-owned CBS affiliate KSAZ-TV), and WMAR-TV in Baltimore. Scripps insisted on including WFTS and KNXV in the deal, even though a news department was in construction at KNXV and no movement had yet occurred to build one in Tampa. The ABC affiliation, confirmed on June 15, set off a mad dash. WFTS had already been planning a new studio facility in the vicinity of Tampa Stadium, and with the ABC tie-up confirmed, management scrambled to hire a news director. With the station's new facility not planned to be ready until late 1995, the news department initially operated from former facilities of the Home Shopping Network in Clearwater. Another consequence of WFTS replacing WTSP (channel 10) in ABC's affiliate lineup was that it had a more centrally located transmitting facility, which then-ABC president Bob Iger cited as a positive in the switch. That meant that the network would no longer have had a need to affiliate with WWSB (channel 40) in Sarasota, which had aired ABC programming since its 1971 sign-on. WWSB had become an ABC affiliate because WTSP's signal did not reach Sarasota. However, this had become less necessary on technical grounds with high cable television penetration in the Sarasota area, while WFTS-TV's signal reached Sarasota. Coinciding with the Scripps-ABC pact, ABC notified WWSB that it would be terminating its affiliation; though the network gave no reason for its decision, WWSB cited conversations with ABC officials who described it as essential to the broader deal when the Sarasota station petitioned to deny channel 28's license renewal. WWSB ended up winning its battle with ABC and signed a new affiliation contract in March 1995. On December 12, 1994, WFTS became the market's ABC affiliate, WTSP switched to CBS, and WTVT joined Fox; that same day, WFTS launched local news and broke ground on the new Himes Avenue studio. Most of WFTS's syndicated programs were then acquired by WTVT and WTTA, which also aired Fox Kids in the market. WFTS was briefly the local over-the-air broadcast partner of the NHL's Tampa Bay Lightning, airing four Lightning games produced by the Sunshine Network during the 2002–03 season. An East Coast traffic hub and the station group–wide graphics operation for Scripps were established at Tampa in 2009, as an open floor was available at the WFTS facility. On September 24, 2020, a consortium made up of Scripps and Berkshire Hathaway announced the purchase of Ion Media, including local Ion Television station WXPX-TV (channel 66) and the company's technical operations center in Clearwater. News operation As an independent station, channel 28's local news staff consisted of just one staffer who produced and hosted news breaks. Unlike the two Fox stations owned by Scripps that also became Big Three affiliates—KSHB-TV in Kansas City, Missouri, and KNXV-TV—no movement had occurred prior to the affiliation switch on establishing a local news department at WFTS-TV, though station management had been considering the expansion. By the time the affiliation switch was announced, the station was planning a move to the Himes Avenue facility; the station's existing studios at I-4 and Columbus Drive were too small for a news department. To start producing news, WFTS needed to lease facilities, opting to set up shop in the former Clearwater studios of the Home Shopping Network. Bob Jordan of KCBS-TV in Los Angeles was hired to be the founding news director for 28 Tampa Bay News, which began broadcasting on December 12, 1994. Originally starting with 6 and 11 p.m. newscasts, a flurry of expansions took place during the first four months of 1995, including morning, 5 p.m., and 5:30 p.m. The task of building the first new full-scale news service in Tampa Bay against decades-long competitors meant low ratings. WFTS typically rated in third or fourth place in most time slots in its first five years of local news. In 2001, Sam Stallworth and Bill Berra arrived from WSYX–WTTE in Columbus, Ohio, to serve as general manager and news director of WFTS-TV; Jordan was later rehired by his former employer, WFTV in Orlando. The duo refocused the newsroom on hard news and investigative reporting, a prelude to the station rebranding as ABC Action News in October 2002 after a brief time as "28 News". Ratings remained low, but the station made progress under general manager Richard Pegram, who arrived in 2009 and oversaw the launch of channel 28's first weekend morning newscast. In November 2012, WFTS overtook all other local stations in all evening and late news ratings in the demographic of adults 25–54; this marked the first time WFTS won at 5:00, 5:30, 6:00 and 11:00 p.m. in the key demographic during one ratings period. Pegram was dismissed in 2014, with one source noting he was a difficult boss and heavily involved in the news department. In 2019, WFTS launched "ABC Action News Streaming Now", a digital news product that included daytime rolling news coverage, simulcasts of channel 28's existing newscasts, and a new 3 p.m. newscast to air on TV and online. Notable former on-air staff Jay Crawford – sports director (1998–2003) Scott Hanson – sports anchor (1994–2000) Walt Maciborski – anchor/reporter (2005–2009) Elaine Quijano – reporter (1998–2000) Sage Steele – reporter (1998–2001) Technical information Subchannels The station's signal is multiplexed: WFTS is also available in ATSC 3.0 (Next Gen TV) on the signal of WMOR-TV (channel 32). In exchange, WFTS hosts WMOR's main subchannel in the ATSC 1.0 format. Analog-to-digital conversion WFTS-TV shut down its analog signal, over UHF channel 28, on June 12, 2009, as part of the federally mandated transition from analog to digital television. References External links ABCActionNews.com – Official website "Behind the Scenes of 28 News", a 2002 documentary showing the WFTS-TV newsroom FTS-TV ABC network affiliates Bounce TV affiliates Grit (TV network) affiliates Ion Mystery affiliates E. W. Scripps Company television stations Television channels and stations established in 1981 1981 establishments in Florida
King of the Stallions is a 1942 American Western film directed by Edward Finney and written by Arthur St. Claire and Sherman L. Lowe. The film stars Chief Thundercloud, Rick Vallin, Barbara Felker, Dave O'Brien, Chief Yowlachie and Sally Cairns. The film was released on September 18, 1942, by Monogram Pictures. Plot Nakoma is the leader of a pack of wild horses, both Indians and cowboys want the horse in their side, however Nakoma is not friendly to either one. Cast Chief Thundercloud as Hahawi Rick Vallin as Sina-Oga Barbara Felker as Princess Telenika Dave O'Brien as Steve Mason Chief Yowlachie as Chief Matapotan Sally Cairns as Lucy Clark Ted Adams as Jake Barlow Gordon De Main as Pop Clark Forrest Taylor as Nick Henshaw J.W. Cody as Manka References External links 1942 films American Western (genre) films 1942 Western (genre) films Monogram Pictures films American black-and-white films Films directed by Edward Finney 1940s English-language films 1940s American films
Boeing-Boeing is a farce written by the French playwright Marc Camoletti. The English-language adaptation, translated by Beverley Cross, was first staged in London at the Apollo Theatre in 1962 and transferred to the Duchess Theatre in 1965, running for seven years. In 1991, the play was listed in the Guinness Book of Records as the most performed French play throughout the world. Synopsis The play is set in the 1960s, and centres on bachelor Bernard, who has a flat in Paris and three airline stewardesses all engaged to him without knowing about each other. Bernard's life gets bumpy, though, when his friend Robert comes to stay, and complications such as weather and a new, speedier Boeing jet disrupt his careful planning. Soon, all three stewardesses are in the city simultaneously and catastrophe looms. Characters Bernard– a Parisian architect and lothario (turned into an American who resides in Paris in the most recent Broadway production) Berthe– Bernard's French housekeeper Robert– Bernard's old school chum (from Wisconsin) Jaqueline (or Gabriella)– the French fiancée (or the Italian fiancée) and air hostess Janet (or Gloria)– the American fiancée and air hostess Judith (or Gretchen)– the German fiancée and air hostess Productions The English version of the play was first staged in London's West End at the Apollo Theatre in 1962 with David Tomlinson in the lead role and then transferred to the Duchess Theatre in 1965, running for seven years. After a year in the play, Tomlinson was replaced by Leslie Phillips, who played in it for two years. He was then replaced by Nicholas Parsons, who played in it for 15 months. The play was produced on Broadway at the Cort Theatre from February 2, 1965, closing on February 20, 1965, after 23 performances. Directed by Jack Minster, the cast included Ian Carmichael, Susan Carr, Diana Millay, and Gerald Harper. The play was also on in Blackpool at the South Pier during 1967, and featured Vicki Woolf, Dandy Nichols, Hugh Lloyd, Ann Sidney, and Christina Taylor. In 1978, the play was produced in Kansas City, featuring Jerry Mathers and Tony Dow of Leave it to Beaver. The play was adapted by W!LD RICE production in Singapore in 2002. It was directed by Glen Goei; Glen and the company revisited, modernized, and relocated this comedy to Asia and the present day, whilst keeping faithful to the text and the spirit of the play. The three air hostesses's nationalities were changed to Singapore, Hong Kong, and Japan. The show starred Lim Yu-Beng, Pam Oei, Emma Yong, Chermaine Ang, Sean Yeo, and Mae Paner-Rosa. Boeing-Boeing was revived in London in February 2007 at the Comedy Theatre in a production directed by Matthew Warchus. Once again, the play proved to be a hit with critics and audiences alike. The original cast of the production featured Roger Allam as Bernard, Frances de la Tour as Bertha, Mark Rylance as Robert, and Tamzin Outhwaite, Daisy Beaumont, and Michelle Gomez as Bernard's three fiancées, Gloria, Gabriella, and Gretchen. This production received two Olivier Award nominations, for Best Revival and Best Actor (Mark Rylance), but won neither. Elena Roger later took on the role of Gabriella. Warchus also directed the 2008 Broadway revival, which started previews on April 19, 2008, and opened on May 4 at the Longacre Theatre to good reviews. The cast featured Christine Baranski as Berthe, Mark Rylance, reprising his role as Robert, Bradley Whitford as Bernard, Gina Gershon as Gabriella, Mary McCormack as Gretchen, and Kathryn Hahn as Gloria. The curtain call of this revival was choreographed by Kathleen Marshall with original music by Claire van Kampen. The production closed on January 4, 2009, after 279 performances and 17 previews. A 45-week North American tour began in fall 2009. The production won the Best Revival of a Play and Rylance won the Tony Award for Best Leading Actor. The production was nominated for several other Tony Awards including: Best Featured Actress (Mary McCormack), Best Director (Matthew Warchus), Best Costume Design (Rob Howell) and Best Sound Design (Simon Baker). The production won the Drama Desk Award for Outstanding Revival of a Play, and Mark Rylance won for lead actor in a play. 2007 West End revival 2008 Broadway Adaptations Boeing Boeing (1965 film), American film adapted by Edward Anhalt with John Rich directing, stars Jerry Lewis, Tony Curtis and Thelma Ritter, released by Paramount Pictures Motarda Gharameya (1968 film), Egyptian film starring Fouad el-Mohandes, Shwikar and Abdel Moneim Madbouly. Boeing Boeing (1985 film), Malayalam film adaptation by Priyadarshan starring Mohanlal, Mukesh, and M. G. Soman Chilakkottudu, Telugu film adaption by E. V. V. Satyanarayana starring Jagapati Babu and Rajendra Prasad Garam Masala (2005 film), Hindi film adaptation by Priyadarshan starring Akshay Kumar, John Abraham, and Paresh Rawal Nee Tata Naa Birla, Kannada film adaptation. References Further reading External links 1960 plays Broadway plays Comedy plays Drama Desk Award-winning plays Tony Award-winning plays West End plays Aviation plays Works about flight attendants French plays adapted into films
The Dancing House (), or Ginger and Fred, is the nickname given to the Nationale-Nederlanden building on the Rašínovo nábřeží (Rašín Embankment) in Prague, Czech Republic. It was designed by the Croatian-Czech architect Vlado Milunić in cooperation with Canadian-American architect Frank Gehry on a vacant riverfront plot. The building was designed in 1992. The construction, carried out by BESIX, was completed four years later in 1996. Gehry originally called the house Ginger and Fred (after the dancers Ginger Rogers and Fred Astaire – the house resembles a pair of dancers), but the nickname Ginger & Fred is now mainly used for the restaurant located on the seventh floor of the Dancing House Hotel. Gehry himself later discarded his own idea, as he was "afraid to import American Hollywood kitsch to Prague". Origin The "Dancing House" is set on a property of great historical significance. Its site was the location of an apartment building destroyed by the U.S. bombing of Prague in 1945. The plot and structure lay decrepit until 1960, when the area was cleared. The neighboring plot was co-owned by the family of Václav Havel, who spent most of his life there. As early as 1986 (during the Communist era), Vlado Milunić, then a respected architect in the Czechoslovak milieu, conceived an idea for a project at the place and discussed it with his neighbour, the then little-known dissident Havel. A few years later, during the Velvet Revolution, Havel became a popular leader and was subsequently elected president of Czechoslovakia. Thanks to his authority, the idea to develop the site grew. Havel eventually decided to have Milunić survey the site, hoping for it to become a cultural center, though this was not the result. The Dutch insurance company Nationale-Nederlanden (ING Bank from 1991 to 2016) agreed to sponsor the construction of a house onsite. The superbank chose Milunić as the lead designer and asked him to partner with another world-renowned architect to approach the process. The French architect Jean Nouvel turned down the idea because of the small square footage, but the Canadian-American architect Frank Gehry accepted the invitation. Because of the bank's excellent financial state at the time, it was able to offer almost unlimited funding for the project. Starting with their first meeting in 1992 in Geneva, Gehry and Milunić began to develop Milunić's original idea of a building consisting of two parts, static and dynamic ("yin and yang"), which were to symbolize the transition of Czechoslovakia from a communist regime to a parliamentary democracy. Structure The style is known as deconstructivist ("new-baroque" to the designers) architecture due to its unusual shape. The "dancing" shape is supported by 99 concrete panels, each a different shape and dimension. On the top of the building is a large twisted structure of metal nicknamed Mary. In the middle of a square of buildings from the eighteenth and nineteenth century, the Dancing House has two main parts. The first is a glass tower that narrows at half its height and is supported by curved pillars; the second runs parallel to the river and is characterized by undulating mouldings and unaligned windows. Dancers Fred Astaire and Ginger Rogers are represented in the structure. A tower made of rock is used to represent Fred. This tower also includes a metal head. A tower made of glass is used to represent Ginger. This design was driven mainly by aesthetic considerations: aligned windows would make evident that the building has two more floors, although it is the same height as the two adjacent nineteenth century buildings. The windows have protruding frames, such as those of paintings, as the designer intended for them to have a three-dimensional effect. The winding mouldings on the façade also serve to confuse perspective and diminish contrast with the surrounding buildings. Interior The Czech-British architect Eva Jiřičná designed most of the interior. The building is 9 floors tall and consists of two floors underground. The layout of each of the floors varies due to the asymmetric shape of the building, causing the rooms inside to also be asymmetric. The commercial areas of the building are in the lobby and the first floor. The six floors above are used primarily as office spaces. The ninth floor housed a restaurant. Since the building takes a slim shape, and the building is split into two parts vertically, the office space is limited. To make the most of the space, architect Jiřičná used design elements common in ships and incorporated small hallways into the interior of the building. The total interior of the building is 3,796 sqm. In 2016, over a course of five months, two floors of the building were renovated into a 21-room hotel by Luxury Suites s.r.o. The hotel also has apartments available in each of the tower named after Fred and Ginger. The Ginger & Fred Restaurant now operates on the seventh floor. There is now a glass bar on the eighth floor. There is also now an art gallery in the building. Awards The general shape of the building is now featured on a gold 2,000 Czech koruna coin issued by the Czech National Bank. The coin completes a series called "Ten Centuries of Architecture". The Dancing House won Time magazine's design contest in 1997. The Dancing House was also named one of the five most important buildings in the 1990s by Architekt Magazine. Criticism The Dancing House has been called inappropriate in the classical city of Prague. The deconstructivist design is controversial because the house disrupts the Baroque, Gothic, and Art Nouveau buildings for which Prague is famous. The style, shape, heavy asymmetry, and material are considered out of place by some critics and civilians. See also List of works by Frank Gehry Krzywy Domek References External links Official website Radio Prague article with Vlado Milunic Buildings and structures completed in 1996 Buildings and structures in Prague Deconstructivism Frank Gehry buildings Twisted buildings and structures Visionary environments Tourist attractions in Prague Postmodern architecture in the Czech Republic New Town, Prague 1996 establishments in the Czech Republic 20th-century architecture in the Czech Republic
Adventures in Preservation, formerly named Heritage Conservation Network, is a non-profit organization dedicated to safeguarding the world’s architectural heritage. Its programs give volunteers from all walks of life the opportunity to be involved in preservation in a variety of hands-on ways. Overview Adventures in Preservation (AiP) is a non-profit organization revolving around “Heritage Travel with Purpose”. AiP connects people and preservation through hands-on programs that safeguard cultural heritage and foster community sustainability. AiP travelers have the opportunity to travel, experience their destination, and learn hands-on skills from experts while assisting communities in a meaningful way. AiP organizes a series of hands-on building conservation workshops and volunteer vacations. Working in locations around the world, participants support community-based preservation projects, such as restoring houses to create affordable housing. The workshops are meaningful opportunities to give back while learning about preservation in general, as well as specific building conservation techniques. Each workshop is led by a technical expert, who teaches and guides volunteers as they work. Participation is open to all, from teens to active retirees. Since its founding in 2001, Adventures in Preservation has worked in a half-dozen countries, including Albania, Slovenia, Mexico, Italy, Ghana, and the United States. Many other projects are in development. Requests for assistance come directly from people involved at the grass-roots level, and projects are put onto a wait list. Global impact and recognition Numerous examples have shown that AiP’s volunteer efforts are a major catalyst for conservation. AiP volunteers have played a key role in restoration projects at the Francis Mill in Waynesville, North Carolina; the Weisel Bridge, Quakertown, Pennsylvania; Manor House in Oplotnica, Slovenia; the gardens of the Bartow-Pell Mansion Museum, The Bronx, New York; and adobe residences in Mesilla, New Mexico. They have also been involved in restoration efforts at the Jean (Jacob) Hasbrouck House, New Paltz, New York; the Monastery of , , Vittorio Veneto, Italy; a shotgun house in Cairo, Illinois; the Chief’s House in Ablekuma, Ghana; and missions in Chihuahua, Mexico. AiP also organized crews of volunteers in New Orleans, Louisiana, and Bay St. Louis, Mississippi, to help clean up in the aftermath of Hurricane Katrina. AiP volunteers restore more than buildings. They restore people's lives, their communities, and their pride in their heritage. The workshops also contribute variously to heritage tourism, economic development, and job training initiatives. The organization and its volunteers have received awards for their efforts at Bartow-Pell Mansion Museum and their emergency stabilization work at the James Brown House and Farm Ooltehwah, Tennessee. view current projects at http://adventuresinpreservation.org/upcoming-adventures/ Workshops AiP adventures have always provided you a great educational experience, with hands-on training and excursions designed to highlight the essence of each country’s culture. AiP offers six to eight workshops each year. As with most volunteer travel programs, there is a fee for participating. This fee covers lodging, most meals, insurance, instructions, and a contribution towards the cost of conservation work and building materials. Current workshop offerings are listed on their website. "Jammers" is a special term for the people who travel with AiP to explore and help restore the world's cultural heritage, because they are so much more than volunteers or participants. To make a long story short, "jammers" comes from an early misunderstanding that Adventures in Preservation worked with jam and jelly, as in strawberry and other fruit preserves. An interesting possibility, but not so. It represents the way a group of musicians, or other groups, come together to jam and create something new and wonderful. References Adventures in Preservation Francis Mill Preservation Society Facebook Page Nonprofit spotlight: Heritage Conservation Network Colorado Daily: Your Town: Preserving the Past History in Your Hands: Past Horizons Issue 1, pp. 22-23 External links Adventures in Preservation Historic preservation organizations in the United States Charities based in Colorado Conservation and restoration organizations
```shell #!/usr/bin/env bash # clear old data, don't remove the databases since they may contains some data # that will help speed up the syncing process rm -rf ./run/* ./node-* ./*key* ./*.dump stack exec -- cardano-explorer \ --system-start 1501793381 \ --log-config log-config.yaml \ --logs-prefix "logs/testnet" \ --db-path db-testnet \ --kademlia-peer 52.58.131.170:3000 \ --kademlia-peer 35.158.246.75:3000 \ --kademlia-peer 34.249.252.215:3000 \ --kademlia-peer 52.211.65.215:3000 \ --listen 127.0.0.1:$((3000)) \ --static-peers \ "$@" ```
```java /* * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ package org.apache.shardingsphere.data.pipeline.scenario.consistencycheck.util; import org.junit.jupiter.api.Test; import java.util.Arrays; import java.util.List; import java.util.Optional; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; class ConsistencyCheckSequenceTest { @Test void assertGetNextSequence() { int currentSequence = ConsistencyCheckSequence.MIN_SEQUENCE; assertThat(currentSequence = ConsistencyCheckSequence.getNextSequence(currentSequence), is(2)); assertThat(currentSequence = ConsistencyCheckSequence.getNextSequence(currentSequence), is(3)); assertThat(currentSequence = ConsistencyCheckSequence.getNextSequence(currentSequence), is(1)); } @Test void assertGetPreviousSequence() { List<Integer> sequences = Arrays.asList(2, 3, 1); Optional<Integer> previousSequence = ConsistencyCheckSequence.getPreviousSequence(sequences, 3); assertTrue(previousSequence.isPresent()); assertThat(previousSequence.get(), is(2)); previousSequence = ConsistencyCheckSequence.getPreviousSequence(sequences, 2); assertTrue(previousSequence.isPresent()); assertThat(previousSequence.get(), is(1)); previousSequence = ConsistencyCheckSequence.getPreviousSequence(sequences, 1); assertTrue(previousSequence.isPresent()); assertThat(previousSequence.get(), is(3)); previousSequence = ConsistencyCheckSequence.getPreviousSequence(sequences, 4); assertFalse(previousSequence.isPresent()); } } ```
John Berger is an Australian politician and trade unionist. He has been a Labor Party member of the Victorian Legislative Council since December 2022, representing the Southern Metropolitan Region. Since December 2022, Berger has served as the Deputy Government Whip in the Legislative Council. Prior to Berger's election into the Victorian Parliament, he served as the State Secretary of the Transport Workers Union (Vic/Tas) Branch from 2016 to 2021 and the National President of the Transport Workers Union from 2019 to 2021. Early life and education Berger was born in Melbourne, Victoria in 1964. He attended St Joseph's College Melbourne and completed his high school education at Assumption College Kilmore. Berger completed a graduate certificate in Industrial Relations/Human Resources at Victoria University between 2004 and 2008. Additionally, Berger completed the Williamson Community Leadership Program in 2008. Career before politics Prior to his career as a union official, Berger was a baggage handler for the former airline Ansett. Early career Berger joined Ansett as a baggage handler for 10 years where he was a member of the Transport Workers Union. Berger started at the Transport Workers Union (Vic/Tas) in 1996. Berger was elected as an organiser as well as to the Branch Committee of Management. Upon Bill Noonan's retirement on November 18, 2009, Berger became the Assistant Secretary of the Transport Workers Union. The union's key achievements included the passing of ground-breaking legislation to establish the Road Safety Remuneration Tribunal, in the 20-year ‘Safe Rates’ campaign. Secretary of the Transport Workers Union (Vic/Tas) Branch On April 29, 2016, Berger took over as the Secretary of the Transport Workers Union (Vic/Tas), where he was re-elected in December 2018. Berger was also elected as the Transport Workers Union National Vice President in September 2018, and later National President in May 2019. Additionally, Berger also served as a director of TWU Super, one of the first super funds to be created. Return to industrial action Under Berger's leadership, the Transport Workers Union (Vic/Tas) Branch successfully fought for improved safety and pay conditions for the members, with a return to industrial action and focus on grassroots strength. For example, the Union oversaw its first industrial action in the bus industry in 20 years. In 2017, the union oversaw 62 new enterprise agreements and won over $250,000 in disputes for members. In 2020, with hundreds of enterprise agreements set to expire concurrently, the union successfully organised extensive industrial action for its members. Bus driver safety Likewise, when the introduction of the cashless MYKI system saw a surge in attacks on bus drivers, where senior organiser Mike McNess successfully campaigned to provide Security Screens for bus drivers to protect them from harm. Wage theft criminalisation Berger led the Resolution at the 2017 Victorian Labor Party Conference to criminalise wage theft in Victoria, later becoming law. COVID-19 Pandemic With the advent of the COVID-19 pandemic, Berger worked with the Victorian Government to ensure that truck drivers returning from NSW would be exempt from isolation requirements. Likewise, the union lobbied the Federal Government to extend JobKeeper provisions to drivers employed by foreign owned companies, like DNATA. Additionally, the union took Qantas to the High Court for the unfair dismissal and outsourcing of 2000 ground handling staff. End of union career In December 2021, Berger was pre-selected by the Victorian Labor Party as a Legislative Council candidate for the Southern Metropolitan Region. Upon the successful pre-selection, Berger resigned from his positions in the Transport Workers Union. His successor, Mike McNess took over as the Secretary of the branch and was re-elected in December 2022. Political career Berger was elected at the 2022 Victorian Election as one of two Labor Members for Southern Metropolitan Region in the Legislative Council of the 60th Parliament of Victoria. In December 2022, Berger was appointed as the first Deputy Government Whip for the Legislative Council. Personal life Berger is an avid Collingwood Football Club and Melbourne Storm supporter. References Living people Members of the Victorian Legislative Council Australian Labor Party members of the Parliament of Victoria 21st-century Australian politicians Year of birth missing (living people)
The year 2000 is the 4th year in the history of the Pride Fighting Championships, a mixed martial arts promotion based in Japan. 2000 had 6 events beginning with, Pride FC - Grand Prix 2000: Opening Round. Debut Pride FC fighters The following fighters fought their first Pride FC fight in 2000: Dan Henderson Gilbert Yvel Hans Nijman Heath Herring Herman Renting Igor Borisov Johil de Oliveira John Marsh John Renken Kazuyuki Fujita Ken Shamrock Masaaki Satake Mike Bourke Osamu Kawahara Ricardo Almeida Ricco Rodriguez Royce Gracie Ryan Gracie Shannon Ritch Takayuki Okada Tokimitsu Ishizawa Tra Telligman Willie Peeters Yoshiaki Yatsu Events list Pride FC: Grand Prix 2000 - Opening Round Pride FC - Grand Prix 2000: Opening Round was an event held on January 30, 2000 at The Tokyo Dome in Tokyo, Japan. Results Pride 2000 Grand Prix Bracket Pride FC: Grand Prix 2000 - Finals Pride FC - Pride Grand Prix 2000: Finals was an event held on May 1, 2000 at The Tokyo Dome in Tokyo, Japan. Results Pride 2000 Grand Prix Bracket Pride 9: New Blood Pride 9 - New Blood was an event held on June 4, 2000 at The Nagoya Rainbow Hall in Nagoya, Japan. Results Pride 10: Return of the Warriors Pride 10 - Return of the Warriors was an event held on August 27, 2000 at The Seibu Dome in Saitama, Japan. Results Pride 11: Battle of the Rising Sun Pride 11 - Battle of the Rising Sun was an event held on October 31, 2000 at Osaka-jo Hall in Osaka, Japan. Results Pride 12: Cold Fury Pride 12 - Cold Fury was an event held on December 23, 2000 at The Saitama Super Arena in Saitama, Japan. This event featured the debut of future PRIDE Champion, Dan Henderson. Results See also Pride Fighting Championships List of Pride Fighting Championships champions List of Pride Fighting events References Pride Fighting Championships events 2000 in mixed martial arts
```javascript "use strict"; /* eslint-disable max-statements */ const Fs = require("fs"); const Path = require("path"); const util = require("./util"); const subappUtil = require("subapp-util"); const _ = require("lodash"); const assert = require("assert"); const { getXRequire } = require("@xarc/app").isomorphicLoader; module.exports = function setup(setupContext) { const cdnEnabled = _.get(setupContext, "routeOptions.cdn.enable"); const distDir = process.env.NODE_ENV === "production" ? "../dist/min" : "../dist/dev"; const clientJs = Fs.readFileSync(Path.join(__dirname, distDir, "subapp-web.js")).toString(); const cdnJs = cdnEnabled ? Fs.readFileSync(Path.join(__dirname, distDir, "cdn-map.js")).toString() : ""; const loadJs = Fs.readFileSync(require.resolve("loadjs/dist/loadjs.min.js"), "utf8"); // // TODO: in webpack dev mode, we need to reload stats after there's a change // const metricReport = _.get(setupContext, "routeOptions.reporting", {}); const { assets } = util.loadAssetsFromStats(setupContext.routeOptions.stats); assert(assets, `subapp-web unable to load assets from ${setupContext.routeOptions.stats}`); setupContext.routeOptions.__internals.assets = assets; const cdnJsBundles = util.getCdnJsBundles(assets, setupContext.routeOptions); const bundleAssets = { jsChunksById: cdnJsBundles, // md === mapping data for other assets md: util.getCdnOtherMappings(setupContext.routeOptions), entryPoints: assets.entryPoints, basePath: "" }; // For subapp version 2, when using to do dynamic import, // code to translate for webpack 4 jsonp bundle loading. // requires processing done by xarc-webpack/src/plugins/jsonp-script-src-plugin // TBD: need to update when upgrade to webpack 5 const webpackJsonpJS = cdnEnabled ? Fs.readFileSync(Path.join(__dirname, distDir, "webpack4-jsonp.js")).toString() : ""; const namespace = _.get(setupContext, "routeOptions.namespace"); let inlineRuntimeJS = ""; let runtimeEntryPoints = []; if (process.env.NODE_ENV === "production") { runtimeEntryPoints = Object.keys(assets.chunksById.js).filter(ep => assets.chunksById.js[ep].startsWith("runtime.bundle") ); inlineRuntimeJS = "/*rt*/" + runtimeEntryPoints .map(ep => Path.resolve("dist", "js", Path.basename(cdnJsBundles[ep]))) .filter(fullPath => Fs.existsSync(fullPath)) .map(fullPath => Fs.readFileSync(fullPath)) .join(" ") .replace(/\/\/#\ssourceMappingURL=.*$/, "") + "/*rt*/"; inlineRuntimeJS += `\nwindow.xarcV1.markBundlesLoaded(${JSON.stringify(runtimeEntryPoints)}${ namespace ? ", " + JSON.stringify(namespace) : "" });`; } const namespaceScriptJs = namespace ? `window.__default__namespace="${namespace}";` : ""; const scriptId = namespace ? namespace : "bundle"; const { scriptNonce = "" } = util.getNonceValue(setupContext.routeOptions); const webSubAppJs = `<script${scriptNonce} id="${scriptId}Assets" type="application/json"> ${JSON.stringify(bundleAssets)} </script> <script${scriptNonce}>/*LJ*/${loadJs}/*LJ*/ ${webpackJsonpJS} ${namespaceScriptJs} ${clientJs} ${cdnJs} ${inlineRuntimeJS} </script>`; let subAppServers; const getSubAppServers = () => { if (subAppServers) { return subAppServers; } // TODO: where and how is subApps set in __internals? const { subApps } = setupContext.routeOptions.__internals; // check if any subapp has server side code with initialize method and load them return (subAppServers = subApps && subApps .map(({ subapp }) => subappUtil.loadSubAppServerByName(subapp.name, false)) .filter(x => x && x.initialize)); }; const setupIsomorphicCdnUrlMapping = () => { const extRequire = getXRequire(); if (!extRequire) return; const cdnAssets = util.loadCdnAssets(setupContext.routeOptions); const cdnKeys = Object.keys(cdnAssets).map(k => Path.basename(k)); extRequire.setUrlMapper(url => { const urlBaseName = Path.basename(url); return (cdnKeys.includes(urlBaseName) && cdnAssets[urlBaseName]) || url; }); }; if (cdnEnabled) { setupIsomorphicCdnUrlMapping(); } return { process: context => { context.user.assets = assets; context.user.includedBundles = {}; runtimeEntryPoints.forEach(ep => { context.user.includedBundles[ep] = true; }); if (metricReport.enable && metricReport.reporter) { context.user.xarcSSREmitter = util.getEventEmiiter(metricReport.reporter); } getSubAppServers(); // invoke the initialize method of subapp's server code if (subAppServers && subAppServers.length > 0) { for (const server of getSubAppServers()) { server.initialize(context); } } return webSubAppJs; } }; }; ```
Nether Poppleton is a village and civil parish in the unitary authority of the City of York in North Yorkshire, England. It is by the west bank of the River Ouse and is adjacent to Upper Poppleton west of York. It is close to the A59 road from York to Harrogate. The village is served by Poppleton railway station on the Harrogate Line. According to the 2001 census, the parish had a population of 2,077. That increased to 2,141 at the 2011 census. Before 1996, it had been part of the Borough of Harrogate. The name is derived from popel (pebble) and tun (hamlet, farm) and means "pebble farm" because of the gravel bed upon which the village was built. The neighbouring village of Upper Poppleton has been referred to as "Land Poppleton" and Nether Poppleton as "Water Poppleton", indicating the villages' position relative to the river. The village is mentioned in the Domesday Book of 1086 and an Anglo-Saxon charter of circa 972. It became a Conservation Area in 1993. The earthworks to the north and east of the parish church are designated as a Scheduled Monument (). History In 972, the village was recorded as "Popeltun" in a list made for Archbishop of York Oswald of Church property lost in the wars earlier in the century, and in the Domesday Book as "Popletune". The villages and lands were given by Osbern De Arches to the Abbot of St Mary's in York. It was, therefore, under the ecclesiastical rule of the Parish of St Mary-Bishophill Junior. During the reign of Richard II, the village was the scene of the murder of a mayor of York. In 1644, the 25,000-strong Scottish and Parliament armies, led by the Earl of Manchester, laid siege to the city of York. To facilitate communications, they built a "bridge of boats" at Poppleton. This bridge was eventually taken by Prince Rupert and his Royalist forces, but he subsequently lost the battle at Marston Moor. The village benefited from the growth in the railways in the 19th century when the York, Knaresborough and Harrogate Railway routed its line through Poppleton and built a station. On 22 January 1876, the village became the birthplace of Flora Sandes, the only woman to be officially enlisted during the First World War. The village was historically part of the West Riding of Yorkshire until 1974. It was then a part of the Borough of Harrogate in North Yorkshire from 1974 until 1996. Since 1996 it has been part of the City of York unitary authority. Time Team Dig 2004 In June 2004, the British broadcaster Channel 4 made an episode of its archaeological programme Time Team in the village in association with Yorkshire Wessex Archaeology to investigate the origins of the village based near some of the earthenworks around the village, especially near the church and Manor Farm. In total, 12 trenches were dug in addition to 32 test pits dug by the local population. The dig found evidence that there had been a monastic building in the village that was dated AD 450–850 and a formerly-unknown Tudor manor. Governance Nether Poppleton lies within the Rural West Ward of the City of York Unitary Authority. As of the 2023 elections, it is represented by councillors Anne Hook and Emilie Knight, who are both members of the Liberal Democrats. It is a part of the UK Parliamentary Constituency of York Outer. Until January 2020 it also fell within the boundaries of the Yorkshire and the Humber European Parliament constituency. Locally, there is a parish council with seven council members. Economy Poppleton was formerly an agricultural settlement with many farms, but the modern village is mostly a dormitory for commuters to the nearby towns and cities. It has benefited from its good road and rail links. The village shares local retail facilities, including a post office, and some small enterprises with Upper Poppleton. Demography In the 19th century, the population varied between 254 and 346. The 2001 census recorded the population as 1,961. Education As of 2010, Poppleton Ousebank Primary School provides primary education for both Poppletons. For secondary education, the village is in the catchment area of York High School on Cornlands Road in nearby Acomb. The nearest secondary school is Manor Church of England Academy on Millfield Lane, which has its own admissions policy separate from the local city council's policy. It was originally built in 1813 at Kings Manor and has moved several times before being sited in Millfield Lane. Transport Harrogate Coach Travel buses run past the village as part of the York to Ripon route. Transdev York and First York run service through the village from Upper Poppleton. Poppleton railway station is located on the Harrogate line, which runs from York to Leeds via Harrogate. Northern Rail operates services from Poppleton in each direction. Religion St Everilda's Church is at the end of Church Lane and is thought to have origins as early as the seventh century. The stained glass in the eastern window and in one of the windows in the south aisle are of late 13th century and early 14th century. St Everilda's Church is named after a seventh century Saxon saint. It is one of only two churches in the United Kingdom dedicated to this saint. The other is at Everingham some to the south-east in the East Riding of Yorkshire. Sports The local football team, Poppleton United, and a lawn tennis club are in nearby Upper Poppleton. A Junior Football club, Poppleton Tigers, is based on Millfield Lane. The team play at the Poppleton Community Sports Pavilion, which was opened by John Sentamu, Archbishop of York on 10 October 2011. See also Nether Poppleton Tithebarn References External links Nether Poppleton Parish Council website Villages in the City of York Civil parishes in North Yorkshire
```c /*your_sha256_hash--------- * * tzparser.c * Functions for parsing timezone offset files * * Note: this code is invoked from the check_hook for the GUC variable * timezone_abbreviations. Therefore, it should report problems using * GUC_check_errmsg() and related functions, and try to avoid throwing * elog(ERROR). This is not completely bulletproof at present --- in * particular out-of-memory will throw an error. Could probably fix with * PG_TRY if necessary. * * * * IDENTIFICATION * src/backend/utils/misc/tzparser.c * *your_sha256_hash--------- */ #include "postgres.h" #include <ctype.h> #include "miscadmin.h" #include "storage/fd.h" #include "utils/guc.h" #include "utils/memutils.h" #include "utils/tzparser.h" #define WHITESPACE " \t\n\r" static bool validateTzEntry(tzEntry *tzentry); static bool splitTzLine(const char *filename, int lineno, char *line, tzEntry *tzentry); static int addToArray(tzEntry **base, int *arraysize, int n, tzEntry *entry, bool override); static int ParseTzFile(const char *filename, int depth, tzEntry **base, int *arraysize, int n); /* * Apply additional validation checks to a tzEntry * * Returns true if OK, else false */ static bool validateTzEntry(tzEntry *tzentry) { unsigned char *p; /* * Check restrictions imposed by datetktbl storage format (see datetime.c) */ if (strlen(tzentry->abbrev) > TOKMAXLEN) { GUC_check_errmsg("time zone abbreviation \"%s\" is too long (maximum %d characters) in time zone file \"%s\", line %d", tzentry->abbrev, TOKMAXLEN, tzentry->filename, tzentry->lineno); return false; } /* * Sanity-check the offset: shouldn't exceed 14 hours */ if (tzentry->offset > 14 * 60 * 60 || tzentry->offset < -14 * 60 * 60) { GUC_check_errmsg("time zone offset %d is out of range in time zone file \"%s\", line %d", tzentry->offset, tzentry->filename, tzentry->lineno); return false; } /* * Convert abbrev to lowercase (must match datetime.c's conversion) */ for (p = (unsigned char *) tzentry->abbrev; *p; p++) *p = pg_tolower(*p); return true; } /* * Attempt to parse the line as a timezone abbrev spec * * Valid formats are: * name zone * name offset dst * * Returns true if OK, else false; data is stored in *tzentry */ static bool splitTzLine(const char *filename, int lineno, char *line, tzEntry *tzentry) { char *abbrev; char *offset; char *offset_endptr; char *remain; char *is_dst; tzentry->lineno = lineno; tzentry->filename = filename; abbrev = strtok(line, WHITESPACE); if (!abbrev) { GUC_check_errmsg("missing time zone abbreviation in time zone file \"%s\", line %d", filename, lineno); return false; } tzentry->abbrev = pstrdup(abbrev); offset = strtok(NULL, WHITESPACE); if (!offset) { GUC_check_errmsg("missing time zone offset in time zone file \"%s\", line %d", filename, lineno); return false; } /* We assume zone names don't begin with a digit or sign */ if (isdigit((unsigned char) *offset) || *offset == '+' || *offset == '-') { tzentry->zone = NULL; tzentry->offset = strtol(offset, &offset_endptr, 10); if (offset_endptr == offset || *offset_endptr != '\0') { GUC_check_errmsg("invalid number for time zone offset in time zone file \"%s\", line %d", filename, lineno); return false; } is_dst = strtok(NULL, WHITESPACE); if (is_dst && pg_strcasecmp(is_dst, "D") == 0) { tzentry->is_dst = true; remain = strtok(NULL, WHITESPACE); } else { /* there was no 'D' dst specifier */ tzentry->is_dst = false; remain = is_dst; } } else { /* * Assume entry is a zone name. We do not try to validate it by * looking up the zone, because that would force loading of a lot of * zones that probably will never be used in the current session. */ tzentry->zone = pstrdup(offset); tzentry->offset = 0; tzentry->is_dst = false; remain = strtok(NULL, WHITESPACE); } if (!remain) /* no more non-whitespace chars */ return true; if (remain[0] != '#') /* must be a comment */ { GUC_check_errmsg("invalid syntax in time zone file \"%s\", line %d", filename, lineno); return false; } return true; } /* * Insert entry into sorted array * * *base: base address of array (changeable if must enlarge array) * *arraysize: allocated length of array (changeable if must enlarge array) * n: current number of valid elements in array * entry: new data to insert * override: true if OK to override * * Returns the new array length (new value for n), or -1 if error */ static int addToArray(tzEntry **base, int *arraysize, int n, tzEntry *entry, bool override) { tzEntry *arrayptr; int low; int high; /* * Search the array for a duplicate; as a useful side effect, the array is * maintained in sorted order. We use strcmp() to ensure we match the * sort order datetime.c expects. */ arrayptr = *base; low = 0; high = n - 1; while (low <= high) { int mid = (low + high) >> 1; tzEntry *midptr = arrayptr + mid; int cmp; cmp = strcmp(entry->abbrev, midptr->abbrev); if (cmp < 0) high = mid - 1; else if (cmp > 0) low = mid + 1; else { /* * Found a duplicate entry; complain unless it's the same. */ if ((midptr->zone == NULL && entry->zone == NULL && midptr->offset == entry->offset && midptr->is_dst == entry->is_dst) || (midptr->zone != NULL && entry->zone != NULL && strcmp(midptr->zone, entry->zone) == 0)) { /* return unchanged array */ return n; } if (override) { /* same abbrev but something is different, override */ midptr->zone = entry->zone; midptr->offset = entry->offset; midptr->is_dst = entry->is_dst; return n; } /* same abbrev but something is different, complain */ GUC_check_errmsg("time zone abbreviation \"%s\" is multiply defined", entry->abbrev); GUC_check_errdetail("Entry in time zone file \"%s\", line %d, conflicts with entry in file \"%s\", line %d.", midptr->filename, midptr->lineno, entry->filename, entry->lineno); return -1; } } /* * No match, insert at position "low". */ if (n >= *arraysize) { *arraysize *= 2; *base = (tzEntry *) repalloc(*base, *arraysize * sizeof(tzEntry)); } arrayptr = *base + low; memmove(arrayptr + 1, arrayptr, (n - low) * sizeof(tzEntry)); memcpy(arrayptr, entry, sizeof(tzEntry)); return n + 1; } /* * Parse a single timezone abbrev file --- can recurse to handle @INCLUDE * * filename: user-specified file name (does not include path) * depth: current recursion depth * *base: array for results (changeable if must enlarge array) * *arraysize: allocated length of array (changeable if must enlarge array) * n: current number of valid elements in array * * Returns the new array length (new value for n), or -1 if error */ static int ParseTzFile(const char *filename, int depth, tzEntry **base, int *arraysize, int n) { char share_path[MAXPGPATH]; char file_path[MAXPGPATH]; FILE *tzFile; char tzbuf[1024]; char *line; tzEntry tzentry; int lineno = 0; bool override = false; const char *p; /* * We enforce that the filename is all alpha characters. This may be * overly restrictive, but we don't want to allow access to anything * outside the timezonesets directory, so for instance '/' *must* be * rejected. */ for (p = filename; *p; p++) { if (!isalpha((unsigned char) *p)) { /* at level 0, just use guc.c's regular "invalid value" message */ if (depth > 0) GUC_check_errmsg("invalid time zone file name \"%s\"", filename); return -1; } } /* * The maximal recursion depth is a pretty arbitrary setting. It is hard * to imagine that someone needs more than 3 levels so stick with this * conservative setting until someone complains. */ if (depth > 3) { GUC_check_errmsg("time zone file recursion limit exceeded in file \"%s\"", filename); return -1; } get_share_path(my_exec_path, share_path); snprintf(file_path, sizeof(file_path), "%s/timezonesets/%s", share_path, filename); tzFile = AllocateFile(file_path, "r"); if (!tzFile) { /* * Check to see if the problem is not the filename but the directory. * This is worth troubling over because if the installation share/ * directory is missing or unreadable, this is likely to be the first * place we notice a problem during postmaster startup. */ int save_errno = errno; DIR *tzdir; snprintf(file_path, sizeof(file_path), "%s/timezonesets", share_path); tzdir = AllocateDir(file_path); if (tzdir == NULL) { GUC_check_errmsg("could not open directory \"%s\": %m", file_path); GUC_check_errhint("This may indicate an incomplete PostgreSQL installation, or that the file \"%s\" has been moved away from its proper location.", my_exec_path); return -1; } FreeDir(tzdir); errno = save_errno; /* * otherwise, if file doesn't exist and it's level 0, guc.c's * complaint is enough */ if (errno != ENOENT || depth > 0) GUC_check_errmsg("could not read time zone file \"%s\": %m", filename); return -1; } while (!feof(tzFile)) { lineno++; if (fgets(tzbuf, sizeof(tzbuf), tzFile) == NULL) { if (ferror(tzFile)) { GUC_check_errmsg("could not read time zone file \"%s\": %m", filename); n = -1; break; } /* else we're at EOF after all */ break; } if (strlen(tzbuf) == sizeof(tzbuf) - 1) { /* the line is too long for tzbuf */ GUC_check_errmsg("line is too long in time zone file \"%s\", line %d", filename, lineno); n = -1; break; } /* skip over whitespace */ line = tzbuf; while (*line && isspace((unsigned char) *line)) line++; if (*line == '\0') /* empty line */ continue; if (*line == '#') /* comment line */ continue; if (pg_strncasecmp(line, "@INCLUDE", strlen("@INCLUDE")) == 0) { /* pstrdup so we can use filename in result data structure */ char *includeFile = pstrdup(line + strlen("@INCLUDE")); includeFile = strtok(includeFile, WHITESPACE); if (!includeFile || !*includeFile) { GUC_check_errmsg("@INCLUDE without file name in time zone file \"%s\", line %d", filename, lineno); n = -1; break; } n = ParseTzFile(includeFile, depth + 1, base, arraysize, n); if (n < 0) break; continue; } if (pg_strncasecmp(line, "@OVERRIDE", strlen("@OVERRIDE")) == 0) { override = true; continue; } if (!splitTzLine(filename, lineno, line, &tzentry)) { n = -1; break; } if (!validateTzEntry(&tzentry)) { n = -1; break; } n = addToArray(base, arraysize, n, &tzentry, override); if (n < 0) break; } FreeFile(tzFile); return n; } /* * load_tzoffsets --- read and parse the specified timezone offset file * * On success, return a filled-in TimeZoneAbbrevTable, which must have been * malloc'd not palloc'd. On failure, return NULL, using GUC_check_errmsg * and friends to give details of the problem. */ TimeZoneAbbrevTable * load_tzoffsets(const char *filename) { TimeZoneAbbrevTable *result = NULL; MemoryContext tmpContext; MemoryContext oldContext; tzEntry *array; int arraysize; int n; /* * Create a temp memory context to work in. This makes it easy to clean * up afterwards. */ tmpContext = AllocSetContextCreate(CurrentMemoryContext, "TZParserMemory", ALLOCSET_SMALL_SIZES); oldContext = MemoryContextSwitchTo(tmpContext); /* Initialize array at a reasonable size */ arraysize = 128; array = (tzEntry *) palloc(arraysize * sizeof(tzEntry)); /* Parse the file(s) */ n = ParseTzFile(filename, 0, &array, &arraysize, 0); /* If no errors so far, let datetime.c allocate memory & convert format */ if (n >= 0) { result = ConvertTimeZoneAbbrevs(array, n); if (!result) GUC_check_errmsg("out of memory"); } /* Clean up */ MemoryContextSwitchTo(oldContext); MemoryContextDelete(tmpContext); return result; } ```
Mount Todd is a peak rising to 3,600 m at the north extremity of Probuda Ridge in north-central Sentinel Range, Ellsworth Mountains in Antarctica. It surmounts Embree Glacier to the west, Patleyna Glacier to the northeast and Ellen Glacier to the south-southeast. The peak was named in 1984 by the Advisory Committee on Antarctic Names (US-ACAN) after Edward P. Todd, a physicist for the National Science Foundation from 1963 to 1984, and the director of the Division of Polar Programs of the National Science Foundation (NSF) from 1977 to 1984. Todd also had responsibility for the development of the U.S. Antarctic Research Program. Location Todd Peak is located at , which is 3 km north by east of Mount Press and 8.65 east-northeast of Mount Hale. It was mapped by the United States Geological Survey (USGS) from surveys and U.S. Navy aerial photography from 1957 to 1960. The mapping was updated in 1988. Maps Vinson Massif. Scale 1:250 000 topographic map. Reston, Virginia: US Geological Survey, 1988. Antarctic Digital Database (ADD). Scale 1:250000 topographic map of Antarctica. Scientific Committee on Antarctic Research (SCAR). Since 1993, regularly updated. References SCAR Composite Antarctic Gazetteer. Ellsworth Mountains Mountains of Ellsworth Land
The Hum Goes on Forever is the seventh studio album by American rock band the Wonder Years. It was released on September 23, 2022, by the Loneliest Place on Earth and Hopeless Records. Style and composition The band originally planned to begin writing their next album after the conclusion of their 2020 tour, but the COVID-19 pandemic meant that they did not see each other for several months. They struggled to write virtually, and the record was not created until the band quarantined in a Pennsylvania farmhouse for a week. Many songs on The Hum Goes On Forever reference previous tracks from the Wonder Years' discography: the protagonist of "Oldest Daughter" is named after the titular character in "Madelyn" from The Greatest Generation, while "Cardinals II" is a sequel to the track on No Closer to Heaven. Recording and production Steve Evetts, who frequently collaborated with the Wonder Years, produced most of the album, while Will Yip also produced certain tracks, which were initially intended for a standalone EP preceding the album. During production, the band decided to combine the results of both sessions. The recording took place at The Omen Room, Studio 606 and Studio 4. Release and promotion On April 21, 2022, the Wonder Years released "Oldest Daughter", their first single since Sister Cities was released four years prior to that and the lead single for a then-untitled album. On May 19, they released "Summer Clothes" as a follow-up single. On June 22, the band announced that The Hum Goes on Forever would be released on September 23 through Hopeless Records. Accompanying the album announcement, which included cover art and a track listing, they released the single "Wyatt's Song (Your Name)". In October 2022, the Wonder Years headlined a small East Coast tour to promote The Hum Goes On Forever. They were supported by Fireworks and Macseal. Critical reception The Hum Goes on Forever was met with "generally favorable" reviews from critics. At Metacritic, which assigns a weighted average rating out of 100 to reviews from mainstream publications, this release received an average score of 80, based on 4 reviews. Track listing Personnel The Wonder Years Matt Brasch – rhythm guitar, vocals Dan Campbell – lead vocals Casey Cavaliere – lead guitar Mike Kennedy – drums Josh Martin – bass, vocals Nick Steinborn – guitar, keyboards Technical Steve Evetts – production (1–4, 8–12) Will Yip – production (5–7) Andy Clarke – engineer (1–4, 8–12) Vince Ratti – mixing Ryan Smith – mastering Oliver Roman – additional engineering (1–4, 8–12) Evan Myaskovsky – additional engineering (1–4, 8–12) Jerred Polacci – additional engineering (1–4, 8–12) Justin Bartlett – additional engineering (5–7) Jordan Ly – additional engineering (5–7) John Carpineta – additional engineering (5–7) Charts References 2022 albums The Wonder Years (band) albums Hopeless Records albums Albums produced by Steve Evetts Albums produced by Will Yip
William Adams (20 March 1897 – 5 December 1945) was a footballer who played in The Football League for Barrow and West Bromwich Albion. Adams also played for Newport County. Adams later became the landlord of a local Black Country public house now known as The Bell Inn. It is located on Rood End Road, Rood End, Langley. Adams was later buried in Rood End Cemetery after his death. References Men's association football defenders Barrow A.F.C. players English men's footballers People from Rowley Regis Sportspeople from Sandwell English Football League players West Bromwich Albion F.C. players 1897 births 1945 deaths Newport County A.F.C. players
Jonathan Sykes may refer to: Jonathan Sykes (footballer) Jonathan Sykes (engineer)
```go package sonar // NewLocation instantiate a Location func NewLocation(message string, filePath string, textRange *TextRange) *Location { return &Location{ Message: message, FilePath: filePath, TextRange: textRange, } } // NewTextRange instantiate a TextRange func NewTextRange(startLine int, endLine int) *TextRange { return &TextRange{ StartLine: startLine, EndLine: endLine, } } // NewIssue instantiate an Issue func NewIssue(engineID string, ruleID string, primaryLocation *Location, issueType string, severity string, effortMinutes int) *Issue { return &Issue{ EngineID: engineID, RuleID: ruleID, PrimaryLocation: primaryLocation, Type: issueType, Severity: severity, EffortMinutes: effortMinutes, } } ```
Karl Albert Ludwig Aschoff (10 January 1866 – 24 June 1942) was a German physician and pathologist. He is considered to be one of the most influential pathologists of the early 20th century and is regarded as the most important German pathologist after Rudolf Virchow. Early life and education Aschoff was born in Berlin, Prussia on 10 January 1866. He studied medicine at the University of Bonn, University of Strasbourg, and the University of Würzburg. Career After his habilitation in 1894, Ludwig Aschoff was appointed professor for pathology at the University of Göttingen in 1901. Aschoff transferred to the University of Marburg in 1903 to head the department for pathological anatomy. In 1906, he accepted a position as ordinarius at the University of Freiburg, where he remained until his death. Aschoff was interested in the pathology and pathophysiology of the heart. He discovered nodules in the myocardium present during rheumatic fever, the so-called Aschoff bodies. Aschoff's reputation attracted students from all over the world, among them Sunao Tawara. Together they discovered and described the atrioventricular node (AV node, Aschoff-Tawara node). Numerous travels abroad, to England, Canada, Japan, and the U.S. led to many research connections, whereas the trips to Japan proved to be especially productive. Aschoff's popularity in Japanese medicine had its roots in his work with Tawara and a journey through Japan in 1924. In the early 20th century, 23 of 26 Japanese pathological institutes were headed by students of Aschoff. Among his pathological studies was also the issue of racial differences. "Pathology of constitution" invented by him became a special branch of research of National Socialist (Nazi) doctors under the name of "military pathology". Franz Buechner is reported to be Aschoff's most prominent pupil. One of Aschoff's sons, Jürgen Aschoff, went on to become one of the founders of the field of chronobiology. Death Aschoff died on 24 June 1942 in Freiburg, Germany. Personal life His grave is preserved in the Protestant Friedhof I der Jerusalems- und Neuen Kirchengemeinde (Cemetery No. I of the congregations of Jerusalem's Church and New Church) in Berlin-Kreuzberg, south of Hallesches Tor. See also Rokitansky–Aschoff sinuses Pathology List of pathologists References External links 1866 births 1942 deaths Scientists from Berlin Physicians from the Province of Brandenburg German pathologists University of Bonn alumni University of Strasbourg alumni University of Würzburg alumni Academic staff of the University of Göttingen Academic staff of the University of Marburg Academic staff of the University of Freiburg
```go package common import ( "testing" "github.com/stretchr/testify/assert" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "github.com/caicloud/cyclone/pkg/apis/cyclone/v1alpha1" "github.com/caicloud/cyclone/pkg/meta" ) func TestResolveWorkflowName(t *testing.T) { cases := map[string]struct { wfr v1alpha1.WorkflowRun expect string }{ "wfrRef": { wfr: v1alpha1.WorkflowRun{ Spec: v1alpha1.WorkflowRunSpec{ WorkflowRef: &corev1.ObjectReference{ Kind: "Workflow", Name: "w1", }, }, }, expect: "w1", }, "wfrOwner": { wfr: v1alpha1.WorkflowRun{ ObjectMeta: metav1.ObjectMeta{ OwnerReferences: []metav1.OwnerReference{ { Kind: "Workflow", Name: "w1", }}, }, }, expect: "w1", }, "label": { wfr: v1alpha1.WorkflowRun{ ObjectMeta: metav1.ObjectMeta{ Labels: map[string]string{ meta.LabelWorkflowName: "w1", }, }, }, expect: "w1", }, "none": { wfr: v1alpha1.WorkflowRun{}, expect: "", }, } for _, c := range cases { assert.Equal(t, c.expect, ResolveWorkflowName(c.wfr)) } } func TestResolveProjectName(t *testing.T) { cases := map[string]struct { wfr v1alpha1.WorkflowRun expect string }{ "label": { wfr: v1alpha1.WorkflowRun{ ObjectMeta: metav1.ObjectMeta{ Labels: map[string]string{ meta.LabelProjectName: "p1", }, }, }, expect: "p1", }, "none": { wfr: v1alpha1.WorkflowRun{}, expect: "", }, } for _, c := range cases { assert.Equal(t, c.expect, ResolveProjectName(c.wfr)) } } ```
```go /* path_to_url Unless required by applicable law or agreed to in writing, software WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ package archive // ApplyOpt allows setting mutable archive apply properties on creation type ApplyOpt func(options *ApplyOptions) error ```
```shell Test disk speed with `dd` Find the `MAC` address of all network interfaces Force a time update with `ntp` Fixing `locale` issues in Debian systems Basic service management with `systemd` ```
```python # # # path_to_url # # Unless required by applicable law or agreed to in writing, software # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # ============================================================================== """Small library that points to the ImageNet data set. Methods of ImagenetData class: data_files: Returns a python list of all (sharded) data set files. num_examples_per_epoch: Returns the number of examples in the data set. num_classes: Returns the number of classes in the data set. reader: Return a reader for a single entry from the data set. This file was taken nearly verbatim from the tensorflow/models GitHub repo. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import sys import tensorflow.compat.v1 as tf FLAGS = tf.app.flags.FLAGS tf.app.flags.DEFINE_string('imagenet_data_dir', '/tmp/imagenet-2012-tfrecord', """Path to the ImageNet data, i.e. """ """TFRecord of Example protos.""") class ImagenetData(object): """A simple class for handling the ImageNet data set.""" def __init__(self, subset): """Initialize dataset using a subset and the path to the data.""" assert subset in self.available_subsets(), self.available_subsets() self.subset = subset def num_classes(self): """Returns the number of classes in the data set.""" return 1000 def num_examples_per_epoch(self): """Returns the number of examples in the data set.""" # Bounding box data consists of 615299 bounding boxes for 544546 images. if self.subset == 'train': return 1281167 if self.subset == 'validation': return 50000 def download_message(self): """Instruction to download and extract the tarball from Flowers website.""" print('Failed to find any ImageNet %s files'% self.subset) print('') print('If you have already downloaded and processed the data, then make ' 'sure to set --imagenet_data_dir to point to the directory ' 'containing the location of the sharded TFRecords.\n') print('If you have not downloaded and prepared the ImageNet data in the ' 'TFRecord format, you will need to do this at least once. This ' 'process could take several hours depending on the speed of your ' 'computer and network connection\n') print('Please see ' 'path_to_url 'datasets/download_and_convert_imagenet.sh ' 'for a tool to build the ImageNet dataset.\n') print('Note that the raw data size is 300 GB and the processed data size ' 'is 150 GB. Please ensure you have at least 500GB disk space.') def available_subsets(self): """Returns the list of available subsets.""" return ['train', 'validation'] def data_files(self): """Returns a python list of all (sharded) data subset files. Returns: python list of all (sharded) data set files. Raises: ValueError: if there are not data_files matching the subset. """ imagenet_data_dir = os.path.expanduser(FLAGS.imagenet_data_dir) if not tf.gfile.Exists(imagenet_data_dir): print('%s does not exist!' % (imagenet_data_dir)) sys.exit(-1) tf_record_pattern = os.path.join(imagenet_data_dir, '%s-*' % self.subset) data_files = tf.gfile.Glob(tf_record_pattern) if not data_files: print('No files found for dataset ImageNet/%s at %s' % (self.subset, imagenet_data_dir)) self.download_message() sys.exit(-1) return data_files def reader(self): """Return a reader for a single entry from the data set. See io_ops.py for details of Reader class. Returns: Reader object that reads the data set. """ return tf.TFRecordReader() ```
```c++ //===- llvm-stress.cpp - Generate random LL files to stress-test LLVM -----===// // // See path_to_url for license information. // //===your_sha256_hash------===// // // This program is a utility that generates random .ll files to stress-test // different components in LLVM. // //===your_sha256_hash------===// #include "llvm/ADT/APFloat.h" #include "llvm/ADT/APInt.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/StringRef.h" #include "llvm/ADT/Twine.h" #include "llvm/IR/BasicBlock.h" #include "llvm/IR/CallingConv.h" #include "llvm/IR/Constants.h" #include "llvm/IR/DataLayout.h" #include "llvm/IR/DerivedTypes.h" #include "llvm/IR/Function.h" #include "llvm/IR/GlobalValue.h" #include "llvm/IR/InstrTypes.h" #include "llvm/IR/Instruction.h" #include "llvm/IR/Instructions.h" #include "llvm/IR/LLVMContext.h" #include "llvm/IR/Module.h" #include "llvm/IR/Type.h" #include "llvm/IR/Value.h" #include "llvm/IR/Verifier.h" #include "llvm/Support/Casting.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/InitLLVM.h" #include "llvm/Support/ToolOutputFile.h" #include "llvm/Support/WithColor.h" #include "llvm/Support/raw_ostream.h" #include <algorithm> #include <cassert> #include <cstddef> #include <cstdint> #include <memory> #include <string> #include <system_error> #include <vector> namespace llvm { static cl::OptionCategory StressCategory("Stress Options"); static cl::opt<unsigned> SeedCL("seed", cl::desc("Seed used for randomness"), cl::init(0), cl::cat(StressCategory)); static cl::opt<unsigned> SizeCL( "size", cl::desc("The estimated size of the generated function (# of instrs)"), cl::init(100), cl::cat(StressCategory)); static cl::opt<std::string> OutputFilename("o", cl::desc("Override output filename"), cl::value_desc("filename"), cl::cat(StressCategory)); static cl::list<StringRef> AdditionalScalarTypes( "types", cl::CommaSeparated, cl::desc("Additional IR scalar types " "(always includes i1, i8, i16, i32, i64, float and double)")); static cl::opt<bool> EnableScalableVectors( "enable-scalable-vectors", cl::desc("Generate IR involving scalable vector types"), cl::init(false), cl::cat(StressCategory)); namespace { /// A utility class to provide a pseudo-random number generator which is /// the same across all platforms. This is somewhat close to the libc /// implementation. Note: This is not a cryptographically secure pseudorandom /// number generator. class Random { public: /// C'tor Random(unsigned _seed):Seed(_seed) {} /// Return a random integer, up to a /// maximum of 2**19 - 1. uint32_t Rand() { uint32_t Val = Seed + 0x000b07a1; Seed = (Val * 0x3c7c0ac1); // Only lowest 19 bits are random-ish. return Seed & 0x7ffff; } /// Return a random 64 bit integer. uint64_t Rand64() { uint64_t Val = Rand() & 0xffff; Val |= uint64_t(Rand() & 0xffff) << 16; Val |= uint64_t(Rand() & 0xffff) << 32; Val |= uint64_t(Rand() & 0xffff) << 48; return Val; } /// Rand operator for STL algorithms. ptrdiff_t operator()(ptrdiff_t y) { return Rand64() % y; } /// Make this like a C++11 random device using result_type = uint32_t ; static constexpr result_type min() { return 0; } static constexpr result_type max() { return 0x7ffff; } uint32_t operator()() { uint32_t Val = Rand(); assert(Val <= max() && "Random value out of range"); return Val; } private: unsigned Seed; }; /// Generate an empty function with a default argument list. Function *GenEmptyFunction(Module *M) { // Define a few arguments LLVMContext &Context = M->getContext(); Type* ArgsTy[] = { Type::getInt8PtrTy(Context), Type::getInt32PtrTy(Context), Type::getInt64PtrTy(Context), Type::getInt32Ty(Context), Type::getInt64Ty(Context), Type::getInt8Ty(Context) }; auto *FuncTy = FunctionType::get(Type::getVoidTy(Context), ArgsTy, false); // Pick a unique name to describe the input parameters Twine Name = "autogen_SD" + Twine{SeedCL}; auto *Func = Function::Create(FuncTy, GlobalValue::ExternalLinkage, Name, M); Func->setCallingConv(CallingConv::C); return Func; } /// A base class, implementing utilities needed for /// modifying and adding new random instructions. struct Modifier { /// Used to store the randomly generated values. using PieceTable = std::vector<Value *>; public: /// C'tor Modifier(BasicBlock *Block, PieceTable *PT, Random *R) : BB(Block), PT(PT), Ran(R), Context(BB->getContext()) { ScalarTypes.assign({Type::getInt1Ty(Context), Type::getInt8Ty(Context), Type::getInt16Ty(Context), Type::getInt32Ty(Context), Type::getInt64Ty(Context), Type::getFloatTy(Context), Type::getDoubleTy(Context)}); for (auto &Arg : AdditionalScalarTypes) { Type *Ty = nullptr; if (Arg == "half") Ty = Type::getHalfTy(Context); else if (Arg == "fp128") Ty = Type::getFP128Ty(Context); else if (Arg == "x86_fp80") Ty = Type::getX86_FP80Ty(Context); else if (Arg == "ppc_fp128") Ty = Type::getPPC_FP128Ty(Context); else if (Arg == "x86_mmx") Ty = Type::getX86_MMXTy(Context); else if (Arg.startswith("i")) { unsigned N = 0; Arg.drop_front().getAsInteger(10, N); if (N > 0) Ty = Type::getIntNTy(Context, N); } if (!Ty) { errs() << "Invalid IR scalar type: '" << Arg << "'!\n"; exit(1); } ScalarTypes.push_back(Ty); } } /// virtual D'tor to silence warnings. virtual ~Modifier() = default; /// Add a new instruction. virtual void Act() = 0; /// Add N new instructions, virtual void ActN(unsigned n) { for (unsigned i=0; i<n; ++i) Act(); } protected: /// Return a random integer. uint32_t getRandom() { return Ran->Rand(); } /// Return a random value from the list of known values. Value *getRandomVal() { assert(PT->size()); return PT->at(getRandom() % PT->size()); } Constant *getRandomConstant(Type *Tp) { if (Tp->isIntegerTy()) { if (getRandom() & 1) return ConstantInt::getAllOnesValue(Tp); return ConstantInt::getNullValue(Tp); } else if (Tp->isFloatingPointTy()) { if (getRandom() & 1) return ConstantFP::getAllOnesValue(Tp); return ConstantFP::getNullValue(Tp); } return UndefValue::get(Tp); } /// Return a random value with a known type. Value *getRandomValue(Type *Tp) { unsigned index = getRandom(); for (unsigned i=0; i<PT->size(); ++i) { Value *V = PT->at((index + i) % PT->size()); if (V->getType() == Tp) return V; } // If the requested type was not found, generate a constant value. if (Tp->isIntegerTy()) { if (getRandom() & 1) return ConstantInt::getAllOnesValue(Tp); return ConstantInt::getNullValue(Tp); } else if (Tp->isFloatingPointTy()) { if (getRandom() & 1) return ConstantFP::getAllOnesValue(Tp); return ConstantFP::getNullValue(Tp); } else if (auto *VTp = dyn_cast<FixedVectorType>(Tp)) { std::vector<Constant*> TempValues; TempValues.reserve(VTp->getNumElements()); for (unsigned i = 0; i < VTp->getNumElements(); ++i) TempValues.push_back(getRandomConstant(VTp->getScalarType())); ArrayRef<Constant*> VectorValue(TempValues); return ConstantVector::get(VectorValue); } return UndefValue::get(Tp); } /// Return a random value of any pointer type. Value *getRandomPointerValue() { unsigned index = getRandom(); for (unsigned i=0; i<PT->size(); ++i) { Value *V = PT->at((index + i) % PT->size()); if (V->getType()->isPointerTy()) return V; } return UndefValue::get(pickPointerType()); } /// Return a random value of any vector type. Value *getRandomVectorValue() { unsigned index = getRandom(); for (unsigned i=0; i<PT->size(); ++i) { Value *V = PT->at((index + i) % PT->size()); if (V->getType()->isVectorTy()) return V; } return UndefValue::get(pickVectorType()); } /// Pick a random type. Type *pickType() { return (getRandom() & 1) ? pickVectorType() : pickScalarType(); } /// Pick a random pointer type. Type *pickPointerType() { Type *Ty = pickType(); return PointerType::get(Ty, 0); } /// Pick a random vector type. Type *pickVectorType(VectorType *VTy = nullptr) { // Vectors of x86mmx are illegal; keep trying till we get something else. Type *Ty; do { Ty = pickScalarType(); } while (Ty->isX86_MMXTy()); if (VTy) return VectorType::get(Ty, VTy->getElementCount()); // Select either fixed length or scalable vectors with 50% probability // (only if scalable vectors are enabled) bool Scalable = EnableScalableVectors && getRandom() & 1; // Pick a random vector width in the range 2**0 to 2**4. // by adding two randoms we are generating a normal-like distribution // around 2**3. unsigned width = 1<<((getRandom() % 3) + (getRandom() % 3)); return VectorType::get(Ty, width, Scalable); } /// Pick a random scalar type. Type *pickScalarType() { return ScalarTypes[getRandom() % ScalarTypes.size()]; } /// Basic block to populate BasicBlock *BB; /// Value table PieceTable *PT; /// Random number generator Random *Ran; /// Context LLVMContext &Context; std::vector<Type *> ScalarTypes; }; struct LoadModifier: public Modifier { LoadModifier(BasicBlock *BB, PieceTable *PT, Random *R) : Modifier(BB, PT, R) {} void Act() override { // Try to use predefined pointers. If non-exist, use undef pointer value; Value *Ptr = getRandomPointerValue(); Type *Ty = Ptr->getType()->isOpaquePointerTy() ? pickType() : Ptr->getType()->getNonOpaquePointerElementType(); Value *V = new LoadInst(Ty, Ptr, "L", BB->getTerminator()); PT->push_back(V); } }; struct StoreModifier: public Modifier { StoreModifier(BasicBlock *BB, PieceTable *PT, Random *R) : Modifier(BB, PT, R) {} void Act() override { // Try to use predefined pointers. If non-exist, use undef pointer value; Value *Ptr = getRandomPointerValue(); Type *ValTy = Ptr->getType()->isOpaquePointerTy() ? pickType() : Ptr->getType()->getNonOpaquePointerElementType(); // Do not store vectors of i1s because they are unsupported // by the codegen. if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) return; Value *Val = getRandomValue(ValTy); new StoreInst(Val, Ptr, BB->getTerminator()); } }; struct BinModifier: public Modifier { BinModifier(BasicBlock *BB, PieceTable *PT, Random *R) : Modifier(BB, PT, R) {} void Act() override { Value *Val0 = getRandomVal(); Value *Val1 = getRandomValue(Val0->getType()); // Don't handle pointer types. if (Val0->getType()->isPointerTy() || Val1->getType()->isPointerTy()) return; // Don't handle i1 types. if (Val0->getType()->getScalarSizeInBits() == 1) return; bool isFloat = Val0->getType()->getScalarType()->isFloatingPointTy(); Instruction* Term = BB->getTerminator(); unsigned R = getRandom() % (isFloat ? 7 : 13); Instruction::BinaryOps Op; switch (R) { default: llvm_unreachable("Invalid BinOp"); case 0:{Op = (isFloat?Instruction::FAdd : Instruction::Add); break; } case 1:{Op = (isFloat?Instruction::FSub : Instruction::Sub); break; } case 2:{Op = (isFloat?Instruction::FMul : Instruction::Mul); break; } case 3:{Op = (isFloat?Instruction::FDiv : Instruction::SDiv); break; } case 4:{Op = (isFloat?Instruction::FDiv : Instruction::UDiv); break; } case 5:{Op = (isFloat?Instruction::FRem : Instruction::SRem); break; } case 6:{Op = (isFloat?Instruction::FRem : Instruction::URem); break; } case 7: {Op = Instruction::Shl; break; } case 8: {Op = Instruction::LShr; break; } case 9: {Op = Instruction::AShr; break; } case 10:{Op = Instruction::And; break; } case 11:{Op = Instruction::Or; break; } case 12:{Op = Instruction::Xor; break; } } PT->push_back(BinaryOperator::Create(Op, Val0, Val1, "B", Term)); } }; /// Generate constant values. struct ConstModifier: public Modifier { ConstModifier(BasicBlock *BB, PieceTable *PT, Random *R) : Modifier(BB, PT, R) {} void Act() override { Type *Ty = pickType(); if (Ty->isVectorTy()) { switch (getRandom() % 2) { case 0: if (Ty->isIntOrIntVectorTy()) return PT->push_back(ConstantVector::getAllOnesValue(Ty)); break; case 1: if (Ty->isIntOrIntVectorTy()) return PT->push_back(ConstantVector::getNullValue(Ty)); } } if (Ty->isFloatingPointTy()) { // Generate 128 random bits, the size of the (currently) // largest floating-point types. uint64_t RandomBits[2]; for (unsigned i = 0; i < 2; ++i) RandomBits[i] = Ran->Rand64(); APInt RandomInt(Ty->getPrimitiveSizeInBits(), ArrayRef(RandomBits)); APFloat RandomFloat(Ty->getFltSemantics(), RandomInt); if (getRandom() & 1) return PT->push_back(ConstantFP::getNullValue(Ty)); return PT->push_back(ConstantFP::get(Ty->getContext(), RandomFloat)); } if (Ty->isIntegerTy()) { switch (getRandom() % 7) { case 0: return PT->push_back(ConstantInt::get( Ty, APInt::getAllOnes(Ty->getPrimitiveSizeInBits()))); case 1: return PT->push_back( ConstantInt::get(Ty, APInt::getZero(Ty->getPrimitiveSizeInBits()))); case 2: case 3: case 4: case 5: case 6: PT->push_back(ConstantInt::get(Ty, getRandom())); } } } }; struct AllocaModifier: public Modifier { AllocaModifier(BasicBlock *BB, PieceTable *PT, Random *R) : Modifier(BB, PT, R) {} void Act() override { Type *Tp = pickType(); const DataLayout &DL = BB->getModule()->getDataLayout(); PT->push_back(new AllocaInst(Tp, DL.getAllocaAddrSpace(), "A", BB->getFirstNonPHI())); } }; struct ExtractElementModifier: public Modifier { ExtractElementModifier(BasicBlock *BB, PieceTable *PT, Random *R) : Modifier(BB, PT, R) {} void Act() override { Value *Val0 = getRandomVectorValue(); Value *V = ExtractElementInst::Create( Val0, getRandomValue(Type::getInt32Ty(BB->getContext())), "E", BB->getTerminator()); return PT->push_back(V); } }; struct ShuffModifier: public Modifier { ShuffModifier(BasicBlock *BB, PieceTable *PT, Random *R) : Modifier(BB, PT, R) {} void Act() override { Value *Val0 = getRandomVectorValue(); Value *Val1 = getRandomValue(Val0->getType()); // Can't express arbitrary shufflevectors for scalable vectors if (isa<ScalableVectorType>(Val0->getType())) return; unsigned Width = cast<FixedVectorType>(Val0->getType())->getNumElements(); std::vector<Constant*> Idxs; Type *I32 = Type::getInt32Ty(BB->getContext()); for (unsigned i=0; i<Width; ++i) { Constant *CI = ConstantInt::get(I32, getRandom() % (Width*2)); // Pick some undef values. if (!(getRandom() % 5)) CI = UndefValue::get(I32); Idxs.push_back(CI); } Constant *Mask = ConstantVector::get(Idxs); Value *V = new ShuffleVectorInst(Val0, Val1, Mask, "Shuff", BB->getTerminator()); PT->push_back(V); } }; struct InsertElementModifier: public Modifier { InsertElementModifier(BasicBlock *BB, PieceTable *PT, Random *R) : Modifier(BB, PT, R) {} void Act() override { Value *Val0 = getRandomVectorValue(); Value *Val1 = getRandomValue(Val0->getType()->getScalarType()); Value *V = InsertElementInst::Create( Val0, Val1, getRandomValue(Type::getInt32Ty(BB->getContext())), "I", BB->getTerminator()); return PT->push_back(V); } }; struct CastModifier: public Modifier { CastModifier(BasicBlock *BB, PieceTable *PT, Random *R) : Modifier(BB, PT, R) {} void Act() override { Value *V = getRandomVal(); Type *VTy = V->getType(); Type *DestTy = pickScalarType(); // Handle vector casts vectors. if (VTy->isVectorTy()) DestTy = pickVectorType(cast<VectorType>(VTy)); // no need to cast. if (VTy == DestTy) return; // Pointers: if (VTy->isPointerTy()) { if (!DestTy->isPointerTy()) DestTy = PointerType::get(DestTy, 0); return PT->push_back( new BitCastInst(V, DestTy, "PC", BB->getTerminator())); } unsigned VSize = VTy->getScalarType()->getPrimitiveSizeInBits(); unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits(); // Generate lots of bitcasts. if ((getRandom() & 1) && VSize == DestSize) { return PT->push_back( new BitCastInst(V, DestTy, "BC", BB->getTerminator())); } // Both types are integers: if (VTy->isIntOrIntVectorTy() && DestTy->isIntOrIntVectorTy()) { if (VSize > DestSize) { return PT->push_back( new TruncInst(V, DestTy, "Tr", BB->getTerminator())); } else { assert(VSize < DestSize && "Different int types with the same size?"); if (getRandom() & 1) return PT->push_back( new ZExtInst(V, DestTy, "ZE", BB->getTerminator())); return PT->push_back(new SExtInst(V, DestTy, "Se", BB->getTerminator())); } } // Fp to int. if (VTy->isFPOrFPVectorTy() && DestTy->isIntOrIntVectorTy()) { if (getRandom() & 1) return PT->push_back( new FPToSIInst(V, DestTy, "FC", BB->getTerminator())); return PT->push_back(new FPToUIInst(V, DestTy, "FC", BB->getTerminator())); } // Int to fp. if (VTy->isIntOrIntVectorTy() && DestTy->isFPOrFPVectorTy()) { if (getRandom() & 1) return PT->push_back( new SIToFPInst(V, DestTy, "FC", BB->getTerminator())); return PT->push_back(new UIToFPInst(V, DestTy, "FC", BB->getTerminator())); } // Both floats. if (VTy->isFPOrFPVectorTy() && DestTy->isFPOrFPVectorTy()) { if (VSize > DestSize) { return PT->push_back( new FPTruncInst(V, DestTy, "Tr", BB->getTerminator())); } else if (VSize < DestSize) { return PT->push_back( new FPExtInst(V, DestTy, "ZE", BB->getTerminator())); } // If VSize == DestSize, then the two types must be fp128 and ppc_fp128, // for which there is no defined conversion. So do nothing. } } }; struct SelectModifier: public Modifier { SelectModifier(BasicBlock *BB, PieceTable *PT, Random *R) : Modifier(BB, PT, R) {} void Act() override { // Try a bunch of different select configuration until a valid one is found. Value *Val0 = getRandomVal(); Value *Val1 = getRandomValue(Val0->getType()); Type *CondTy = Type::getInt1Ty(Context); // If the value type is a vector, and we allow vector select, then in 50% // of the cases generate a vector select. if (auto *VTy = dyn_cast<VectorType>(Val0->getType())) if (getRandom() & 1) CondTy = VectorType::get(CondTy, VTy->getElementCount()); Value *Cond = getRandomValue(CondTy); Value *V = SelectInst::Create(Cond, Val0, Val1, "Sl", BB->getTerminator()); return PT->push_back(V); } }; struct CmpModifier: public Modifier { CmpModifier(BasicBlock *BB, PieceTable *PT, Random *R) : Modifier(BB, PT, R) {} void Act() override { Value *Val0 = getRandomVal(); Value *Val1 = getRandomValue(Val0->getType()); if (Val0->getType()->isPointerTy()) return; bool fp = Val0->getType()->getScalarType()->isFloatingPointTy(); int op; if (fp) { op = getRandom() % (CmpInst::LAST_FCMP_PREDICATE - CmpInst::FIRST_FCMP_PREDICATE) + CmpInst::FIRST_FCMP_PREDICATE; } else { op = getRandom() % (CmpInst::LAST_ICMP_PREDICATE - CmpInst::FIRST_ICMP_PREDICATE) + CmpInst::FIRST_ICMP_PREDICATE; } Value *V = CmpInst::Create(fp ? Instruction::FCmp : Instruction::ICmp, (CmpInst::Predicate)op, Val0, Val1, "Cmp", BB->getTerminator()); return PT->push_back(V); } }; } // end anonymous namespace static void FillFunction(Function *F, Random &R) { // Create a legal entry block. BasicBlock *BB = BasicBlock::Create(F->getContext(), "BB", F); ReturnInst::Create(F->getContext(), BB); // Create the value table. Modifier::PieceTable PT; // Consider arguments as legal values. for (auto &arg : F->args()) PT.push_back(&arg); // List of modifiers which add new random instructions. std::vector<std::unique_ptr<Modifier>> Modifiers; Modifiers.emplace_back(new LoadModifier(BB, &PT, &R)); Modifiers.emplace_back(new StoreModifier(BB, &PT, &R)); auto SM = Modifiers.back().get(); Modifiers.emplace_back(new ExtractElementModifier(BB, &PT, &R)); Modifiers.emplace_back(new ShuffModifier(BB, &PT, &R)); Modifiers.emplace_back(new InsertElementModifier(BB, &PT, &R)); Modifiers.emplace_back(new BinModifier(BB, &PT, &R)); Modifiers.emplace_back(new CastModifier(BB, &PT, &R)); Modifiers.emplace_back(new SelectModifier(BB, &PT, &R)); Modifiers.emplace_back(new CmpModifier(BB, &PT, &R)); // Generate the random instructions AllocaModifier{BB, &PT, &R}.ActN(5); // Throw in a few allocas ConstModifier{BB, &PT, &R}.ActN(40); // Throw in a few constants for (unsigned i = 0; i < SizeCL / Modifiers.size(); ++i) for (auto &Mod : Modifiers) Mod->Act(); SM->ActN(5); // Throw in a few stores. } static void IntroduceControlFlow(Function *F, Random &R) { std::vector<Instruction*> BoolInst; for (auto &Instr : F->front()) { if (Instr.getType() == IntegerType::getInt1Ty(F->getContext())) BoolInst.push_back(&Instr); } llvm::shuffle(BoolInst.begin(), BoolInst.end(), R); for (auto *Instr : BoolInst) { BasicBlock *Curr = Instr->getParent(); BasicBlock::iterator Loc = Instr->getIterator(); BasicBlock *Next = Curr->splitBasicBlock(Loc, "CF"); Instr->moveBefore(Curr->getTerminator()); if (Curr != &F->getEntryBlock()) { BranchInst::Create(Curr, Next, Instr, Curr->getTerminator()); Curr->getTerminator()->eraseFromParent(); } } } } // end namespace llvm int main(int argc, char **argv) { using namespace llvm; InitLLVM X(argc, argv); cl::HideUnrelatedOptions({&StressCategory, &getColorCategory()}); cl::ParseCommandLineOptions(argc, argv, "llvm codegen stress-tester\n"); LLVMContext Context; auto M = std::make_unique<Module>("/tmp/autogen.bc", Context); Function *F = GenEmptyFunction(M.get()); // Pick an initial seed value Random R(SeedCL); // Generate lots of random instructions inside a single basic block. FillFunction(F, R); // Break the basic block into many loops. IntroduceControlFlow(F, R); // Figure out what stream we are supposed to write to... std::unique_ptr<ToolOutputFile> Out; // Default to standard output. if (OutputFilename.empty()) OutputFilename = "-"; std::error_code EC; Out.reset(new ToolOutputFile(OutputFilename, EC, sys::fs::OF_None)); if (EC) { errs() << EC.message() << '\n'; return 1; } // Check that the generated module is accepted by the verifier. if (verifyModule(*M.get(), &Out->os())) report_fatal_error("Broken module found, compilation aborted!"); // Output textual IR. M->print(Out->os(), nullptr); Out->keep(); return 0; } ```
Gunbuk Station is a railway station in South Korea. It is on the Gyeongjeon Line. Railway stations in South Gyeongsang Province
Ficus trigona is a species of tree in the family Moraceae. It is native to South America. Characteristics Ficus trigona typically starts life as an epiphyte on another tree. Eventually the plant will send roots to the ground in order to seek more nutrients, however, these roots may completely encircle and constrict the host tree reducing the tree's ability to grow. This in addition to the vigorous growth of the Ficus trigona may lead to the plant outcompeteing and killing the host tree. At maturity the tree can grow up to 35 metres tall, with a trunk width of up to 75 cm. It is usually found in or near swamps, on the sides of rivers, or on coastal plains. The tree is sometimes sought for use as medicine, but seldom has any other use. References trigona Trees of Peru Trees of Brazil Trees of Bolivia Trees of Venezuela Trees of Colombia
```html --- title: Communaut layout: basic cid: community --- <div class="newcommunitywrapper"> <div class="banner1"> <img src="/images/community/kubernetes-community-final-02.jpg" style="width:100%" class="desktop"> <img src="/images/community/kubernetes-community-02-mobile.jpg" style="width:100%" class="mobile"> </div> <div class="intro"> <br class="mobile"> <p>La communaut Kubernetes -- les utilisateurs, les contributeurs ainsi que la culture que nous avons btie ensemble -- est l'une des principales raisons de la popularit fulgurante de ce projet open source. Notre culture et nos valeurs continuent de crotre et de changer au fur et mesure que le projet lui-mme grandit et change. Nous travaillons tous ensemble l'amlioration constante du projet et de la faon dont nous y travaillons. <br><br>Nous sommes les personnes qui dposent les problmes (issues) et les demandes de changements (pull requests), assistent aux runions de SIG, aux runions de Kubernetes et la KubeCon, plaident pour son adoption et son innovation, lancent <code>kubectl get pods</code>, et contribuent de mille autres manires toutes aussi vitales. Lisez ce qui suit pour savoir comment vous pouvez vous impliquer et faire partie de cette incroyable communaut.</p> <br class="mobile"> </div> <div class="community__navbar"> <a href="#conduct">Code de conduite</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#videos">Vidos</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#discuss">Discussions</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#events">vnements et meetups</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="#news">Actualits</a> </div> <br class="mobile"><br class="mobile"> <div class="imagecols"> <br class="mobile"> <div class="imagecol"> <img src="/images/community/kubernetes-community-final-03.jpg" style="width:100%" class="desktop"> </div> <div class="imagecol"> <img src="/images/community/kubernetes-community-final-04.jpg" style="width:100%" class="desktop"> </div> <div class="imagecol" style="margin-right:0% important"> <img src="/images/community/kubernetes-community-final-05.jpg" style="width:100%;margin-right:0% important" class="desktop"> </div> <img src="/images/community/kubernetes-community-04-mobile.jpg" style="width:100%;margin-bottom:3%" class="mobile"> <a name="conduct"></a> </div> <div class="conduct"> <div class="conducttext"> <br class="mobile"><br class="mobile"> <br class="tablet"><br class="tablet"> <div class="conducttextnobutton" style="margin-bottom:2%"><h1>Code de Conduite</h1> La communaut Kubernetes valorise le respect et l'inclusivit, et applique un code de conduite suivre dans toutes ses interactions. Si vous remarquez une violation du Code de conduite lors d'un vnement ou d'une runion, que ce soit sur Slack, ou sur tout autre mcanisme de communication, contactez le Comit du Code de conduite de Kubernetes <a href="mailto:conduct@kubernetes.io" style="color:#0662EE;font-weight:300">conduct@kubernetes.io</a>. Tous les rapports sont gards confidentiels. Pour en savoir plus sur le comit, cliquez&nbsp;<a href="path_to_url" style="color:#0662EE;font-weight:300">ici</a>. <br> <a href="path_to_url"> <br class="mobile"><br class="mobile"> <span class="fullbutton"> LIRE PLUS </span> </a> </div><a name="videos"></a> </div> </div> <div class="videos"> <br class="mobile"><br class="mobile"> <br class="tablet"><br class="tablet"> <h1 style="margin-top:0px">Vidos</h1> <div style="margin-bottom:4%;font-weight:300;text-align:center;padding-left:10%;padding-right:10%">Nous sommes souvent sur YouTube. Abonnez-vous pour un large ventail de sujets.</div> <div class="videocontainer"> <div class="video"> <iframe width="100%" height="250" src="path_to_url" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> <a href="path_to_url"> <div class="videocta"> Regardez notre podcast mensuel "office hours"&nbsp;&#9654;</div> </a> </div> <div class="video"> <iframe width="100%" height="250" src="path_to_url" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> <a href="path_to_url"> <div class="videocta"> Regardez nos rencontres hebdomadaires&nbsp;&#9654; </div> </a> </div> <div class="video"> <iframe width="100%" height="250" src="path_to_url" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> <a href="path_to_url"> <div class="videocta"> Regardez une intervention d'un membre de la communaut&nbsp;&#9654; </div> </a> <a name="discuss"></a> </div> </div> </div> <div class="resources"> <br class="mobile"><br class="mobile"> <br class="tablet"><br class="tablet"> <h1 style="padding-top:1%">Discussions</h1> <div style="font-weight:300;text-align:center">Nous parlons beaucoup ! Rejoignez-nous et prenez part la conversation sur n'importe laquelle des ces plateformes.</div> <div class="resourcecontainer"> <div class="resourcebox"> <img src="/images/community/discuss.png" style="width:80%;padding-bottom:2%"> <a href="path_to_url" style="color:#0662EE;display:block;margin-top:1%"> forum&nbsp;&#9654; </a> <div class="resourceboxtext" style="font-size:12px;text-transform:none !important;font-weight:300;line-height:1.4em;color:#333333;margin-top:4%"> Discussions techniques par thmatiques qui tablissent un pont entre les docs, StackOverflow, et plus encore </div> </div> <div class="resourcebox"> <img src="/images/community/twitter.png" style="width:80%;padding-bottom:2%"> <a href="path_to_url" style="color:#0662EE;display:block;margin-top:1%"> twitter&nbsp;&#9654; </a> <div class="resourceboxtext" style="font-size:12px;text-transform:none !important;font-weight:300;line-height:1.4em;color:#333333;margin-top:4%"> Annonces en temps rel d'articles de blog, d'vnements, d'actualits, d'ides </div> </div> <div class="resourcebox"> <img src="/images/community/github.png" style="width:80%;padding-bottom:2%"> <a href="path_to_url" style="color:#0662EE;display:block;margin-top:1%"> github&nbsp;&#9654; </a> <div class="resourceboxtext" style="font-size:12px;text-transform:none !important;font-weight:300;line-height:1.4em;color:#333333;margin-top:4%"> Tout le projet ainsi que les issues et bien videmment le code </div> </div> <div class="resourcebox"> <img src="/images/community/stack.png" style="width:80%;padding-bottom:2%"> <a href="path_to_url" style="color:#0662EE;display:block;margin-top:1%"> stack overflow&nbsp;&#9654; </a> <div class="resourceboxtext" style="font-size:12px;text-transform:none !important;font-weight:300;line-height:1.4em;color:#333333;margin-top:4%"> Dpannage technique pour tous les cas d'utilisation <a name="events"></a> </div> </div> <!-- <div class="resourcebox"> <img src="/images/community/slack.png" style="width:80%"> slack&nbsp;&#9654; <div class="resourceboxtext" style="font-size:11px;text-transform:none !important;font-weight:200;line-height:1.4em;color:#333333;margin-top:4%"> With 170+ channels, you'll find one that fits your needs. </div> </div>--> </div> </div> <div class="events"> <br class="mobile"><br class="mobile"> <br class="tablet"><br class="tablet"> <div class="eventcontainer"> <h1 style="color:white !important">vnements Venir</h1> {{< upcoming-events >}} </div> </div> <div class="meetups"> <div class="meetupcol"> <div class="meetuptext"> <h1 style="text-align:left">Communaut Mondiale</h1> Avec plus de 150 meetups dans le monde et toujours plus, allez trouver les gens de votre rgion qui comme vous, s'intressent Kubernetes. Si vous n'avez pas de meetup proximit, prenez les choses en main et crez le vtre. </div> <a href="path_to_url"> <div class="button"> TROUVEZ UN MEETUP </div> </a> <a name="news"></a> </div> </div> <!-- <div class="contributor"> <div class="contributortext"> <br> <h1 style="text-align:left"> New Contributors Site </h1> Text about new contributors site. <br><br> <div class="button"> VISIT SITE </div> </div> </div> --> <div class="news"> <br class="mobile"><br class="mobile"> <br class="tablet"><br class="tablet"> <h1 style="margin-bottom:2%">Actualits rcentes</h1> <br> <div class="twittercol1"> <a class="twitter-timeline" data-tweet-limit="1" data-width="600" data-height="800" href="path_to_url">Tweets de kubernetesio</a> <script async src="path_to_url" charset="utf-8"></script> </div> <br> <br><br><br><br> </div> </div> ```
Cure Rare Disease is a non-profit biotechnology company based in Boston, Massachusetts that is working to create novel therapeutics using gene therapy, gene editing (CRISPR technology) and antisense oligonucleotides to treat people impacted by rare and ultra-rare genetic neuromuscular conditions. History Richard Horgan founded Terry's Foundation for Muscular Dystrophy in 2017, which became Cure Rare Disease in 2018, in order to develop a cure for Duchenne muscular dystrophy for his brother who has been battling the disease since childhood. Leveraging his network from Harvard Business School, Horgan formed a collaboration consisting of leading researchers and clinicians around the country to develop this cure for his brother, and eventually founded Cure Rare Disease. Horgan connected first with a scientist at Boston Children's Hospital, Dr. Timothy Yu, who had just successfully created a custom drug for a girl with the neurodegenerative condition, Batten disease using antisense oligonucleotide (ASO) technology. Horgan's brother's mutation is not amenable to ASO technology, so Horgan adopted the process and instead used CRISPR as the technology to attempt to cure his brother. This collaboration has expanded over the past three years and has led to the addition of notable researchers and institutions collaborating with Cure Rare Disease on their mission to treat rare disease. Research There are currently three drugs approved by the FDA for Duchenne muscular dystrophy to treat the patients with mutations on the dystrophin gene encompassing exon 51, 53, and 45. However, people with DMD have mutations impacting different exons of the gene, so these do not work to treat all patients. Cure Rare Disease is developing novel therapeutics using gene replacement, gene editing (CRISPR gene-editing) and antisense oligonucleotide technologies. To systemically deliver  a subset of therapeutics, including CRISPR, the therapeutic is inserted into the adeno-associated virus (AAV). The drug developed for Horgan’s brother used a CRISPR transcriptional activator which functions to upregulate an alternative isoform of dystrophin. Because the CRISPR activation technology does not induce a double stranded cut, rather it acts to upregulate the target of interest, there is less risk of introducing an off-target genetic mutation. Through the collaboration with Cure Rare Disease, researchers at Charles River Laboratories, headquartered in Wilmington, Massachusetts, have develop animal models with the same genetic mutation as the person to be treated with the drug so that therapeutic efficacy and safety can be shown. After extensive efficacy and safety testing, Cure Rare Disease secured approval of the Investigational New Drug (IND) application from the United States Food and Drug Administration (FDA) to dose Terry with the first-in-human CRISPR transcriptional activator in July 2022. Finding success in developing a novel framework to treat the first patient, Cure Rare Disease expanded the development of additional therapeutics. Currently, there are 18 mutations and conditions in the Cure Rare Disease pipeline, including Duchenne muscular dystrophy, various subtypes of Limb-girdle muscular dystrophy, spinocerebellar ataxia type 3 (SCA3), and ADSSL1 distal myopathy. As of 2022, none of these conditions have a viable treatment available for the population impacted. To better plan for future therapeutic endeavors, Cure Rare Disease established a patient registry where patients and patient families can input their mutation information. Partners Charles River Lab University of Massachusetts Medical School Yale School of Medicine Hospital for Sick Children (SickKids) Toronto, Canada The Ohio State University, Columbus, Ohio Leiden University Medical Center, Leiden, Netherlands Virginia Commonwealth University, Richmond, Virginia Andelyn Biosciences, Columbus, Ohio The cross-functional collaboration includes researchers and clinicians from across the Northern Hemisphere and is focused on developing therapeutics for rare and ultra-rare diseases for which there are no effective treatments. References External links Cure Rare Disease's Website Cure Rare Disease on the TODAY Show Non-profit corporations Biotechnology Rare disease organizations
Violante may refer to: Given name Duchess Violante Beatrice of Bavaria (1673–1731), Grand Princess of Tuscany Violante Beatrice Siries (1709–1783), Italian painter Violante do Ceo (1601–1693), Portuguese writer and nun Violante Placido (born 1976), Italian actress and singer Violante of Vilaragut, Majorcan noble Violante Visconti (1354–1386), Italian noble Other Luciano Violante (born 1941), Italian judge and politician Signora Violante, 18th century dancer and theatre company manager. Violante (Titian), oil painting Violante Inlet, inlet in Antarctica
The 1986 World Junior Ice Hockey Championships (1986 WJHC) was the tenth edition of the Ice Hockey World Junior Championship and was held from December 26, 1985, until January 4, 1986. It was held mainly in Hamilton, Ontario, Canada. The Soviet Union won the gold medal, its seventh championship, Canada won silver and the United States won bronze. The bronze medal was the first for the Americans in tournament history. Final standings The 1986 tournament was a round-robin format, with the top three teams winning gold, silver and bronze medals respectively. West Germany was relegated to Pool B for 1987. Results Scoring leaders Tournament awards Pool B Eight teams contested the second tier this year in Klagenfurt Austria from March 13 to 22. It was played in a simple round robin format, each team playing seven games. Standings Poland was promoted to Pool A and Bulgaria was relegated to Pool C for 1987. Pool C This tournament was played in Gap, France, from March 21 to 27. China made its debut in the junior tournament. Standings France was promoted to Pool B for 1987. References 1986 World Junior Hockey Championships at TSN Results at Passionhockey.com World Junior Ice Hockey Championships World Junior Ice Hockey Championships International ice hockey competitions hosted by Canada Sports competitions in London, Ontario World Junior Ice Hockey Championships World Junior Ice Hockey Championships World Junior Ice Hockey Championships World Junior Ice Hockey Championships World Junior Ice Hockey Championships Ice hockey competitions in Hamilton, Ontario 20th century in Hamilton, Ontario Sport in Orillia Sport in Newmarket, Ontario Sports competitions in Kitchener, Ontario Sport in Oshawa Oakville, Ontario International sports competitions in Toronto Sport in Brantford Sports competitions in Klagenfurt 1985–86 in Austrian ice hockey 1985–86 in French ice hockey International ice hockey competitions hosted by Austria International ice hockey competitions hosted by France Ice hockey competitions in Toronto
WVIJ (91.7 FM) is a radio station broadcasting an oldies format. It is licensed to Port Charlotte, Florida, United States. The station is currently owned by Lake Erie College of Osteopathic Medicine, Inc. References External links VIJ Oldies radio stations in the United States
```smalltalk namespace Android.Util { partial class Base64OutputStream { #if ANDROID_8 public Base64OutputStream (System.IO.Stream @out, Base64Flags flags) : this (@out, (int) flags) { } #endif } } ```
To Get to You: Greatest Hits Collection is the second greatest hits compilation album by American country music artist Lorrie Morgan. It was released by BNA Records in February 2000. There were four new songs on this album - "Whoop-De-Do", "To Get to You", "If I Cry", and a live cover of the Sarah McLachlan song, "Angel". The only song released as a single was "To Get to You", which peaked at #63 on the Billboard Hot Country Singles & Tracks chart. The album peaked at #21 on the Top Country Albums chart. Track listing "We Both Walk" (Tom Shapiro, Chris Waters) – 3:08 "Half Enough" (Wendy Waldman, Reed Nielsen) – 3:48 "Another Lonely Song" (Billy Sherrill, Norro Wilson, Tammy Wynette) – 2:38 "Whoop-De-Do" (Craig Carothers, Angela Kaset) – 3:29 "By My Side" (Constant Change) – 2:54 duet with Jon Randall "Good as I Was to You" (Don Schlitz, Billy Livsey) – 3:28 "Go Away" (Stephony Smith, Cathy Majeski, Sunny Russ) – 2:50 "To Get to You" (Brett James, Holly Lamar) – 3:57 "One of Those Nights Tonight" (Susan Longacre, Rick Giles) – 3:51 "Maybe Not Tonight" (Keith Stegall, Dan Hill) – 4:09 duet with Sammy Kershaw "I Guess You Had to Be There" (Jon Robbin, Barbara Cloyd) – 4:10 "Trainwreck of Emotion" (Jon Vezner, Alan Rhody) – 3:07 "If I Cry" (John Bettis, Trey Bruce, Brian D. Siewert) – 4:02 "Standing Tall" (Larry Butler, Ben Peters) - 3:03 "He Talks to Me" (Mike Reid, Rory Bourke) – 3:27 "Something in Red" (Kaset) – 4:40 "Angel" (Sarah McLachlan) – 4:33 Chart performance References 2000 greatest hits albums Lorrie Morgan albums BNA Records compilation albums
The Del Golfo Station () is a station on Line 1 of the Monterrey Metro. This station is located in the Colon Avenue in the northeast side of the Monterrey Centre. The station was opened on 25 April 1991 as part of the inaugural section of Line 1, going from San Bernabé to Exposición. This station serves the northeast side of the city centre and the Treviño neighborhood (Colonia Treviño). This station is near the old "Del Golfo" railroad station (now The Railroad Museum and the State Culture House), it is accessible for people with disabilities. This station is named after the old "Del Golfo" railroad station, and its logo represents the facade of that building. References Metrorrey stations Railway stations opened in 1991 1991 establishments in Mexico
The president-elect of the United States is the candidate who has presumptively won the United States presidential election and is awaiting inauguration to become the president. There is no explicit indication in the U.S. Constitution as to when that person actually becomes president-elect, although the Twentieth Amendment uses the term "president-elect", thus giving the term "president-elect" constitutional justification. It is assumed the Congressional certification of votes cast by the Electoral College of the United States – occurring after the third day of January following the swearing-in of the new Congress, per provisions of the Twelfth Amendment – unambiguously confirms the successful candidate as the official "president-elect" under the U.S. Constitution. As an unofficial term, president-elect has been used by the media since at least the latter half of the 19th century, and was in use by politicians since at least the 1790s. Politicians and the media have applied the term to the projected winner, even on election night, and very few who turned out to have lost have been referred to as such. While Election Day is held in early November, formal voting by the members of the Electoral College takes place in mid-December, and the presidential inauguration (at which the oath of office is taken) is then usually held on January 20. The only constitutional provision pertaining directly to the person who has won the presidential election is their availability to take the oath of office. The Presidential Transition Act of 1963 empowers the General Services Administration to determine who the apparent election winner is, and provides for a timely and organized sequence for the federal government's transition planning in cooperation with the president-elect's transition team; it also includes the provision of office space for the "apparent successful candidates". By convention, during the period between the election and the inauguration, the president-elect actively prepares to carry out the duties of the office of president and works with the outgoing (or lame duck) president to ensure a smooth handover of presidential responsibilities. Since 2008, incoming presidents have also used the name Office of the President-elect to refer to their transition organization, despite a lack of formal description for it. Incumbent presidents who have won re-election for a second term are generally not referred to as presidents-elect, as they are already in office and are not waiting to become president. A sitting vice president who is elected president is referred to as president-elect. History of the usage of the term The use of the term dates back to at least the 1790s, with letters written by multiple of the Founding Fathers of the United States having used the term in relation to the 1796 United States presidential election. There is evidence from some of these letters that, as is the case today, it may have been acceptable to apply the term to individuals that appeared to have won election, even before the full results were known. Major news publications began to regularly use the term in the latter half of the 19th century. With the 1933 ratification of the 20th Amendment to the United States Constitution, the term was now used in the Constitution of the United States. Presidential election law overview Article II, Section 1, Clause 2 of the United States Constitution, along with the Twelfth and Twentieth Amendments directly address and govern the process for electing the nation's president. Presidential elections are further regulated by various federal and state laws. Under the 1887 Electoral Count Act, the presidential electors, the members of the Electoral College, the body that directly elects the president, must be "appointed, in each state, on the Tuesday next after the first Monday in November, in every fourth year". Thus, all states appoint their electors on the same date, in November, once every four years. However, the manner of appointment of the electors is determined by the law of each state, subject to the restrictions stipulated by the Constitution. Currently, in every state, an election by the people is the method employed for the choice of the members of the Electoral College. The Constitution, however, does not specify any procedure that states must follow in choosing electors. A state could, for instance, prescribe that they be elected by the state legislature or even chosen by the state's governor. The latter was the norm in early presidential elections prior to the 1820s; no state has done so since the 1860s. Several states have enacted or proposed laws that would give their electoral votes to the winner of the national popular vote regardless of the result of their statewide vote, but these laws will not come into force unless states with a majority of the electoral votes collectively enact such laws, which as of 2018 has yet to occur. On the Monday after the second Wednesday in December, the electors of each state meet in their respective state capitals (and the electors of the District of Columbia meet in the federal capital), and in those meetings the electors cast their votes for president and vice president of the United States. At the conclusion of their meetings, the electors of each state and of the District of Columbia then execute a "certificate of vote" (in several original copies), declaring the vote count in each meeting. To each certificate of vote, a certificate of ascertainment is annexed. Each certificate of ascertainment is the official document (usually signed by the governor of the state and/or by the state's secretary of state) that declares the names of the electors, certifying their appointment as members of the Electoral College. Given that in all states the electors are currently chosen by popular vote, each certificate of ascertainment also declares the results of the popular vote that decided the appointment of the electors, although this information is not constitutionally required. The electors in each state and of the District of Columbia then send the certificates of vote, with the enclosed certificates of ascertainment, to the president of the U.S. Senate. The electoral votes are counted in a joint session of Congress in early January (on January 6 as required by 3 U.S. Code, Chapter 1, or an alternative date set by statute), and if the ballots are accepted without objections, the presidential and vice-presidential candidates winning at least 270 electoral votes—a majority of the total number of electoral votes—are certified as having won the election by the incumbent vice president, in their capacity as president of the Senate. If no presidential candidate reaches the 270-vote threshold, the election for the president is decided by the House of Representatives in a run-off contingent election. Similarly, if no vice-presidential candidate reaches that threshold, the election for the vice president is decided by the Senate. Electoral College role Although neither the Constitution nor any federal law requires electors to vote for the candidate who wins their state's popular vote, some states have enacted laws mandating that they vote for the state vote winner. In 2020, the constitutionality of these laws was upheld by the United States Supreme Court. Historically, there have only been a few instances of "faithless electors" casting their ballots for a candidate to whom they were not pledged, and such instances have never altered the final outcome of a presidential election. Congressional reports Two congressional reports found that the president-elect is the eventual winner of the majority of electoral ballots cast in December. The Congressional Research Service (CRS) of the Library of Congress, in its 2004 report "Presidential and Vice Presidential Succession: Overview and Current Legislation," discussed the question of when candidates who have received a majority of electoral votes become president-elect. The report notes that the constitutional status of the president-elect is disputed: The CRS report quotes the 1933 U.S. House committee report accompanying the Twentieth Amendment as endorsing the latter view: President-elect succession Scholars have noted that the national committees of the Democratic and Republican parties have adopted rules for selecting replacement candidates in the event of a nominee's death, either before or after the general election. If the apparent winner of the general election dies before the Electoral College votes in December the electors would likely be expected to endorse whatever new nominee their national party selects as a replacement. The rules of both major parties stipulate that if the apparent winner dies under such circumstances and his or her running mate is still able to assume the presidency, then the running mate is to become the president-elect with the electors being directed to vote for the former vice presidential nominee for President. The party's national committee, in consultation with the new president-elect, would then select a replacement to receive the electoral votes for Vice President. If the apparent winner dies between the College's December vote and its counting in Congress in January, the Twelfth Amendment stipulates that all electoral ballots cast shall be counted, presumably even those for a dead candidate. The U.S. House committee reporting on the proposed Twentieth Amendment said the "Congress would have 'no discretion' [and] 'would declare that the deceased candidate had received a majority of the votes.'" The Constitution did not originally include the term president-elect. The term was introduced through the Twentieth Amendment, ratified in 1933, which contained a provision addressing the unavailability of the president-elect to take the oath of office on Inauguration Day. Section 3 provides that if there is no president-elect on January 20, or the president-elect "fails to qualify", the vice president-elect would become acting president on January 20 until there is a qualified president. The section also provides that if the president-elect dies before noon on January 20, the vice president-elect becomes president-elect. In cases where there is no president-elect or vice president-elect, the amendment also gives the Congress the authority to declare an acting president until such time as there is a president or vice president. At this point the Presidential Succession Act of 1947 would apply, with the office of the Presidency going to the speaker of the House of Representatives, followed by the president pro tempore of the Senate and various Cabinet officers. Horace Greeley is the only presidential candidate to win pledged electors in the general election and then die before the presidential inauguration; he secured 66 votes in 1872 and passed away before the Electoral College met. Greeley had already clearly lost the election and most of his votes inconsequentially scattered to other candidates. The closest instance of there being no qualified person to take the presidential oath of office on Inauguration Day happened in 1877 when the disputed election between Rutherford B. Hayes and Samuel J. Tilden was decided and certified in Hayes' favor just three days before the inauguration (then March 4). It might have been a possibility on several other occasions as well. In January 1853, President-elect Franklin Pierce survived a train accident that killed his 11-year-old son. Four years later, President-elect James Buchanan battled a serious illness contracted at the National Hotel in Washington, D.C., as he planned his inauguration. Additionally, on February 15, 1933, just 23 days after the Twentieth Amendment went into effect, President-elect Franklin D. Roosevelt survived an assassination attempt in Miami, Florida. The amendment's provision moving inauguration day from March 4 to January 20, would not take effect until 1937, but its three provisions about a president-elect went into effect immediately. If the assassination attempt on Roosevelt had been successful then, pursuant to Section 3 of the amendment, Vice President-elect John Nance Garner would have been sworn in as president on Inauguration Day, and the vice presidency would have remained vacant for the entire 4-year term. Presidential transitions Since the widespread adoption of the telegraph in the mid-19th century, the de facto president-elect has been known beyond a reasonable doubt, with only a few exceptions, within a few days (or even hours) of the polls closing on election day. As a result, incoming presidents gained valuable preparation time prior to assuming office. Recent presidents-elect have assembled transition teams to prepare for a smooth transfer of power following the inauguration. Outgoing presidents have cooperated with the president-elect on important policy matters during the last two months of the president's term to ensure a smooth transition and continuity of operations that have significant national interests. Before the ratification of the Twentieth Amendment in 1933, which moved the start of the presidential term to January, the president-elect did not assume office until March, four months after the popular election. Under the Presidential Transition Act of 1963 (P.L. 88-277), amended by the Presidential Transitions Effectiveness Act of 1998 (P.L. 100-398), the Presidential Transition Act of 2000 (P.L. 106-293), and the Pre-Election Presidential Transition Act of 2010 (P.L. 111-283), the president-elect is entitled to request and receive certain privileges from the General Services Administration (GSA) as they prepare to assume office. Section 3 of the Presidential Transition Act of 1963 was enacted to help smooth transitions between incoming and outgoing presidential administrations. To that end, provisions such as office space, telecommunication services, transition staff members are allotted, upon request, to the president-elect, though the Act grants the president-elect no official powers and makes no mention of an "Office of the President-Elect." In 2008, President-elect Barack Obama gave numerous speeches and press conferences in front of a placard emblazoned with "Office of the President Elect" and used the same term on his website. President-elect Donald Trump did likewise on January 11, 2017. The Presidential Transition Act of 1963 further authorizes the Administrator of the General Services Administration to issue a "letter of ascertainment" even before the December vote of the Electoral College; this letter identifies the apparent winners of the November general election; this enables the president-elect, vice president-elect, and transition teams for the purposes of receiving federal transition funding, office space and communications services prior to the beginning of the new administration on January 20. There are no firm rules on how the GSA determines the president-elect. Typically, the GSA chief might make the decision after reliable news organizations have declared the winner or following a concession by the loser. Article II, Section 1, clause 8 of the Constitution provides that "Before he enter on the Execution of his Office" the president shall swear or affirm to "faithfully execute the Office of President of the United States" and "preserve, protect and defend the Constitution of the United States." The Twentieth Amendment provides that noon on January 20 marks both the end of a four-year presidential term and the beginning of the next four-year presidential term. It is a "constitutional mystery" about who (if anyone) holds the presidency during the brief period on Inauguration Day between noon and the swearing-in of a new president (or the renewed swearing-in of a re-elected president) approximately five minutes later. One view is that "a President-elect does not assume the status and powers of the President until he or she takes the oath"; under this view, "a person must reach before he or she can assume and exercise the powers of President." A second, opposite view is that the taking of the oath is a "ceremonial reminder of both the President's duty to execute the law and the status of the Constitution as supreme law" and is not a prerequisite to a person "exercis[ing] the powers of the Chief Executive"; the view can be partially based on the fact that the oath is not mentioned in the eligibility requirements for the presidency set forth elsewhere in Article II. A third, intermediate view (the "primed presidency" view) is that "a President-elect automatically becomes President upon the start of his new term, but is unable to 'enter on the Execution of his Office' until he recites the oath"; in other words, the president "must complete the oath before she can constitutionally tap the power of the presidency." The president-elect and vice president-elect receive mandatory protection from the United States Secret Service. Since the 1968 assassination of Robert F. Kennedy, major-party candidates also receive such protection during the election campaign. List of presidents-elect See also Vice President-elect of the United States Prime minister-designate (analogous term) References External links Presidential Transition, GSA President Eisenhower Writes President-Elect John F. Kennedy a Chilly Letter about Staffing, 1960 Shapell Manuscript Foundation President-Elect Garfield Can't Afford Transportation Presidential elections in the United States United States presidential inaugurations United States presidential transitions
```go // // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restriction, including without limitation the rights to // use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies // of the Software, and to permit persons to whom the Software is furnished to do // so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in all // copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. package yaml import ( "io" ) func yaml_insert_token(parser *yaml_parser_t, pos int, token *yaml_token_t) { //fmt.Println("yaml_insert_token", "pos:", pos, "typ:", token.typ, "head:", parser.tokens_head, "len:", len(parser.tokens)) // Check if we can move the queue at the beginning of the buffer. if parser.tokens_head > 0 && len(parser.tokens) == cap(parser.tokens) { if parser.tokens_head != len(parser.tokens) { copy(parser.tokens, parser.tokens[parser.tokens_head:]) } parser.tokens = parser.tokens[:len(parser.tokens)-parser.tokens_head] parser.tokens_head = 0 } parser.tokens = append(parser.tokens, *token) if pos < 0 { return } copy(parser.tokens[parser.tokens_head+pos+1:], parser.tokens[parser.tokens_head+pos:]) parser.tokens[parser.tokens_head+pos] = *token } // Create a new parser object. func yaml_parser_initialize(parser *yaml_parser_t) bool { *parser = yaml_parser_t{ raw_buffer: make([]byte, 0, input_raw_buffer_size), buffer: make([]byte, 0, input_buffer_size), } return true } // Destroy a parser object. func yaml_parser_delete(parser *yaml_parser_t) { *parser = yaml_parser_t{} } // String read handler. func yaml_string_read_handler(parser *yaml_parser_t, buffer []byte) (n int, err error) { if parser.input_pos == len(parser.input) { return 0, io.EOF } n = copy(buffer, parser.input[parser.input_pos:]) parser.input_pos += n return n, nil } // Reader read handler. func yaml_reader_read_handler(parser *yaml_parser_t, buffer []byte) (n int, err error) { return parser.input_reader.Read(buffer) } // Set a string input. func yaml_parser_set_input_string(parser *yaml_parser_t, input []byte) { if parser.read_handler != nil { panic("must set the input source only once") } parser.read_handler = yaml_string_read_handler parser.input = input parser.input_pos = 0 } // Set a file input. func yaml_parser_set_input_reader(parser *yaml_parser_t, r io.Reader) { if parser.read_handler != nil { panic("must set the input source only once") } parser.read_handler = yaml_reader_read_handler parser.input_reader = r } // Set the source encoding. func yaml_parser_set_encoding(parser *yaml_parser_t, encoding yaml_encoding_t) { if parser.encoding != yaml_ANY_ENCODING { panic("must set the encoding only once") } parser.encoding = encoding } // Create a new emitter object. func yaml_emitter_initialize(emitter *yaml_emitter_t) { *emitter = yaml_emitter_t{ buffer: make([]byte, output_buffer_size), raw_buffer: make([]byte, 0, output_raw_buffer_size), states: make([]yaml_emitter_state_t, 0, initial_stack_size), events: make([]yaml_event_t, 0, initial_queue_size), } } // Destroy an emitter object. func yaml_emitter_delete(emitter *yaml_emitter_t) { *emitter = yaml_emitter_t{} } // String write handler. func yaml_string_write_handler(emitter *yaml_emitter_t, buffer []byte) error { *emitter.output_buffer = append(*emitter.output_buffer, buffer...) return nil } // yaml_writer_write_handler uses emitter.output_writer to write the // emitted text. func yaml_writer_write_handler(emitter *yaml_emitter_t, buffer []byte) error { _, err := emitter.output_writer.Write(buffer) return err } // Set a string output. func yaml_emitter_set_output_string(emitter *yaml_emitter_t, output_buffer *[]byte) { if emitter.write_handler != nil { panic("must set the output target only once") } emitter.write_handler = yaml_string_write_handler emitter.output_buffer = output_buffer } // Set a file output. func yaml_emitter_set_output_writer(emitter *yaml_emitter_t, w io.Writer) { if emitter.write_handler != nil { panic("must set the output target only once") } emitter.write_handler = yaml_writer_write_handler emitter.output_writer = w } // Set the output encoding. func yaml_emitter_set_encoding(emitter *yaml_emitter_t, encoding yaml_encoding_t) { if emitter.encoding != yaml_ANY_ENCODING { panic("must set the output encoding only once") } emitter.encoding = encoding } // Set the canonical output style. func yaml_emitter_set_canonical(emitter *yaml_emitter_t, canonical bool) { emitter.canonical = canonical } // Set the indentation increment. func yaml_emitter_set_indent(emitter *yaml_emitter_t, indent int) { if indent < 2 || indent > 9 { indent = 2 } emitter.best_indent = indent } // Set the preferred line width. func yaml_emitter_set_width(emitter *yaml_emitter_t, width int) { if width < 0 { width = -1 } emitter.best_width = width } // Set if unescaped non-ASCII characters are allowed. func yaml_emitter_set_unicode(emitter *yaml_emitter_t, unicode bool) { emitter.unicode = unicode } // Set the preferred line break character. func yaml_emitter_set_break(emitter *yaml_emitter_t, line_break yaml_break_t) { emitter.line_break = line_break } ///* // * Destroy a token object. // */ // //YAML_DECLARE(void) //yaml_token_delete(yaml_token_t *token) //{ // assert(token); // Non-NULL token object expected. // // switch (token.type) // { // case YAML_TAG_DIRECTIVE_TOKEN: // yaml_free(token.data.tag_directive.handle); // yaml_free(token.data.tag_directive.prefix); // break; // // case YAML_ALIAS_TOKEN: // yaml_free(token.data.alias.value); // break; // // case YAML_ANCHOR_TOKEN: // yaml_free(token.data.anchor.value); // break; // // case YAML_TAG_TOKEN: // yaml_free(token.data.tag.handle); // yaml_free(token.data.tag.suffix); // break; // // case YAML_SCALAR_TOKEN: // yaml_free(token.data.scalar.value); // break; // // default: // break; // } // // memset(token, 0, sizeof(yaml_token_t)); //} // ///* // * Check if a string is a valid UTF-8 sequence. // * // * Check 'reader.c' for more details on UTF-8 encoding. // */ // //static int //yaml_check_utf8(yaml_char_t *start, size_t length) //{ // yaml_char_t *end = start+length; // yaml_char_t *pointer = start; // // while (pointer < end) { // unsigned char octet; // unsigned int width; // unsigned int value; // size_t k; // // octet = pointer[0]; // width = (octet & 0x80) == 0x00 ? 1 : // (octet & 0xE0) == 0xC0 ? 2 : // (octet & 0xF0) == 0xE0 ? 3 : // (octet & 0xF8) == 0xF0 ? 4 : 0; // value = (octet & 0x80) == 0x00 ? octet & 0x7F : // (octet & 0xE0) == 0xC0 ? octet & 0x1F : // (octet & 0xF0) == 0xE0 ? octet & 0x0F : // (octet & 0xF8) == 0xF0 ? octet & 0x07 : 0; // if (!width) return 0; // if (pointer+width > end) return 0; // for (k = 1; k < width; k ++) { // octet = pointer[k]; // if ((octet & 0xC0) != 0x80) return 0; // value = (value << 6) + (octet & 0x3F); // } // if (!((width == 1) || // (width == 2 && value >= 0x80) || // (width == 3 && value >= 0x800) || // (width == 4 && value >= 0x10000))) return 0; // // pointer += width; // } // // return 1; //} // // Create STREAM-START. func yaml_stream_start_event_initialize(event *yaml_event_t, encoding yaml_encoding_t) { *event = yaml_event_t{ typ: yaml_STREAM_START_EVENT, encoding: encoding, } } // Create STREAM-END. func yaml_stream_end_event_initialize(event *yaml_event_t) { *event = yaml_event_t{ typ: yaml_STREAM_END_EVENT, } } // Create DOCUMENT-START. func yaml_document_start_event_initialize( event *yaml_event_t, version_directive *yaml_version_directive_t, tag_directives []yaml_tag_directive_t, implicit bool, ) { *event = yaml_event_t{ typ: yaml_DOCUMENT_START_EVENT, version_directive: version_directive, tag_directives: tag_directives, implicit: implicit, } } // Create DOCUMENT-END. func yaml_document_end_event_initialize(event *yaml_event_t, implicit bool) { *event = yaml_event_t{ typ: yaml_DOCUMENT_END_EVENT, implicit: implicit, } } // Create ALIAS. func yaml_alias_event_initialize(event *yaml_event_t, anchor []byte) bool { *event = yaml_event_t{ typ: yaml_ALIAS_EVENT, anchor: anchor, } return true } // Create SCALAR. func yaml_scalar_event_initialize(event *yaml_event_t, anchor, tag, value []byte, plain_implicit, quoted_implicit bool, style yaml_scalar_style_t) bool { *event = yaml_event_t{ typ: yaml_SCALAR_EVENT, anchor: anchor, tag: tag, value: value, implicit: plain_implicit, quoted_implicit: quoted_implicit, style: yaml_style_t(style), } return true } // Create SEQUENCE-START. func yaml_sequence_start_event_initialize(event *yaml_event_t, anchor, tag []byte, implicit bool, style yaml_sequence_style_t) bool { *event = yaml_event_t{ typ: yaml_SEQUENCE_START_EVENT, anchor: anchor, tag: tag, implicit: implicit, style: yaml_style_t(style), } return true } // Create SEQUENCE-END. func yaml_sequence_end_event_initialize(event *yaml_event_t) bool { *event = yaml_event_t{ typ: yaml_SEQUENCE_END_EVENT, } return true } // Create MAPPING-START. func yaml_mapping_start_event_initialize(event *yaml_event_t, anchor, tag []byte, implicit bool, style yaml_mapping_style_t) { *event = yaml_event_t{ typ: yaml_MAPPING_START_EVENT, anchor: anchor, tag: tag, implicit: implicit, style: yaml_style_t(style), } } // Create MAPPING-END. func yaml_mapping_end_event_initialize(event *yaml_event_t) { *event = yaml_event_t{ typ: yaml_MAPPING_END_EVENT, } } // Destroy an event object. func yaml_event_delete(event *yaml_event_t) { *event = yaml_event_t{} } ///* // * Create a document object. // */ // //YAML_DECLARE(int) //yaml_document_initialize(document *yaml_document_t, // version_directive *yaml_version_directive_t, // tag_directives_start *yaml_tag_directive_t, // tag_directives_end *yaml_tag_directive_t, // start_implicit int, end_implicit int) //{ // struct { // error yaml_error_type_t // } context // struct { // start *yaml_node_t // end *yaml_node_t // top *yaml_node_t // } nodes = { NULL, NULL, NULL } // version_directive_copy *yaml_version_directive_t = NULL // struct { // start *yaml_tag_directive_t // end *yaml_tag_directive_t // top *yaml_tag_directive_t // } tag_directives_copy = { NULL, NULL, NULL } // value yaml_tag_directive_t = { NULL, NULL } // mark yaml_mark_t = { 0, 0, 0 } // // assert(document) // Non-NULL document object is expected. // assert((tag_directives_start && tag_directives_end) || // (tag_directives_start == tag_directives_end)) // // Valid tag directives are expected. // // if (!STACK_INIT(&context, nodes, INITIAL_STACK_SIZE)) goto error // // if (version_directive) { // version_directive_copy = yaml_malloc(sizeof(yaml_version_directive_t)) // if (!version_directive_copy) goto error // version_directive_copy.major = version_directive.major // version_directive_copy.minor = version_directive.minor // } // // if (tag_directives_start != tag_directives_end) { // tag_directive *yaml_tag_directive_t // if (!STACK_INIT(&context, tag_directives_copy, INITIAL_STACK_SIZE)) // goto error // for (tag_directive = tag_directives_start // tag_directive != tag_directives_end; tag_directive ++) { // assert(tag_directive.handle) // assert(tag_directive.prefix) // if (!yaml_check_utf8(tag_directive.handle, // strlen((char *)tag_directive.handle))) // goto error // if (!yaml_check_utf8(tag_directive.prefix, // strlen((char *)tag_directive.prefix))) // goto error // value.handle = yaml_strdup(tag_directive.handle) // value.prefix = yaml_strdup(tag_directive.prefix) // if (!value.handle || !value.prefix) goto error // if (!PUSH(&context, tag_directives_copy, value)) // goto error // value.handle = NULL // value.prefix = NULL // } // } // // DOCUMENT_INIT(*document, nodes.start, nodes.end, version_directive_copy, // tag_directives_copy.start, tag_directives_copy.top, // start_implicit, end_implicit, mark, mark) // // return 1 // //error: // STACK_DEL(&context, nodes) // yaml_free(version_directive_copy) // while (!STACK_EMPTY(&context, tag_directives_copy)) { // value yaml_tag_directive_t = POP(&context, tag_directives_copy) // yaml_free(value.handle) // yaml_free(value.prefix) // } // STACK_DEL(&context, tag_directives_copy) // yaml_free(value.handle) // yaml_free(value.prefix) // // return 0 //} // ///* // * Destroy a document object. // */ // //YAML_DECLARE(void) //yaml_document_delete(document *yaml_document_t) //{ // struct { // error yaml_error_type_t // } context // tag_directive *yaml_tag_directive_t // // context.error = YAML_NO_ERROR // Eliminate a compiler warning. // // assert(document) // Non-NULL document object is expected. // // while (!STACK_EMPTY(&context, document.nodes)) { // node yaml_node_t = POP(&context, document.nodes) // yaml_free(node.tag) // switch (node.type) { // case YAML_SCALAR_NODE: // yaml_free(node.data.scalar.value) // break // case YAML_SEQUENCE_NODE: // STACK_DEL(&context, node.data.sequence.items) // break // case YAML_MAPPING_NODE: // STACK_DEL(&context, node.data.mapping.pairs) // break // default: // assert(0) // Should not happen. // } // } // STACK_DEL(&context, document.nodes) // // yaml_free(document.version_directive) // for (tag_directive = document.tag_directives.start // tag_directive != document.tag_directives.end // tag_directive++) { // yaml_free(tag_directive.handle) // yaml_free(tag_directive.prefix) // } // yaml_free(document.tag_directives.start) // // memset(document, 0, sizeof(yaml_document_t)) //} // ///** // * Get a document node. // */ // //YAML_DECLARE(yaml_node_t *) //yaml_document_get_node(document *yaml_document_t, index int) //{ // assert(document) // Non-NULL document object is expected. // // if (index > 0 && document.nodes.start + index <= document.nodes.top) { // return document.nodes.start + index - 1 // } // return NULL //} // ///** // * Get the root object. // */ // //YAML_DECLARE(yaml_node_t *) //yaml_document_get_root_node(document *yaml_document_t) //{ // assert(document) // Non-NULL document object is expected. // // if (document.nodes.top != document.nodes.start) { // return document.nodes.start // } // return NULL //} // ///* // * Add a scalar node to a document. // */ // //YAML_DECLARE(int) //yaml_document_add_scalar(document *yaml_document_t, // tag *yaml_char_t, value *yaml_char_t, length int, // style yaml_scalar_style_t) //{ // struct { // error yaml_error_type_t // } context // mark yaml_mark_t = { 0, 0, 0 } // tag_copy *yaml_char_t = NULL // value_copy *yaml_char_t = NULL // node yaml_node_t // // assert(document) // Non-NULL document object is expected. // assert(value) // Non-NULL value is expected. // // if (!tag) { // tag = (yaml_char_t *)YAML_DEFAULT_SCALAR_TAG // } // // if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error // tag_copy = yaml_strdup(tag) // if (!tag_copy) goto error // // if (length < 0) { // length = strlen((char *)value) // } // // if (!yaml_check_utf8(value, length)) goto error // value_copy = yaml_malloc(length+1) // if (!value_copy) goto error // memcpy(value_copy, value, length) // value_copy[length] = '\0' // // SCALAR_NODE_INIT(node, tag_copy, value_copy, length, style, mark, mark) // if (!PUSH(&context, document.nodes, node)) goto error // // return document.nodes.top - document.nodes.start // //error: // yaml_free(tag_copy) // yaml_free(value_copy) // // return 0 //} // ///* // * Add a sequence node to a document. // */ // //YAML_DECLARE(int) //yaml_document_add_sequence(document *yaml_document_t, // tag *yaml_char_t, style yaml_sequence_style_t) //{ // struct { // error yaml_error_type_t // } context // mark yaml_mark_t = { 0, 0, 0 } // tag_copy *yaml_char_t = NULL // struct { // start *yaml_node_item_t // end *yaml_node_item_t // top *yaml_node_item_t // } items = { NULL, NULL, NULL } // node yaml_node_t // // assert(document) // Non-NULL document object is expected. // // if (!tag) { // tag = (yaml_char_t *)YAML_DEFAULT_SEQUENCE_TAG // } // // if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error // tag_copy = yaml_strdup(tag) // if (!tag_copy) goto error // // if (!STACK_INIT(&context, items, INITIAL_STACK_SIZE)) goto error // // SEQUENCE_NODE_INIT(node, tag_copy, items.start, items.end, // style, mark, mark) // if (!PUSH(&context, document.nodes, node)) goto error // // return document.nodes.top - document.nodes.start // //error: // STACK_DEL(&context, items) // yaml_free(tag_copy) // // return 0 //} // ///* // * Add a mapping node to a document. // */ // //YAML_DECLARE(int) //yaml_document_add_mapping(document *yaml_document_t, // tag *yaml_char_t, style yaml_mapping_style_t) //{ // struct { // error yaml_error_type_t // } context // mark yaml_mark_t = { 0, 0, 0 } // tag_copy *yaml_char_t = NULL // struct { // start *yaml_node_pair_t // end *yaml_node_pair_t // top *yaml_node_pair_t // } pairs = { NULL, NULL, NULL } // node yaml_node_t // // assert(document) // Non-NULL document object is expected. // // if (!tag) { // tag = (yaml_char_t *)YAML_DEFAULT_MAPPING_TAG // } // // if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error // tag_copy = yaml_strdup(tag) // if (!tag_copy) goto error // // if (!STACK_INIT(&context, pairs, INITIAL_STACK_SIZE)) goto error // // MAPPING_NODE_INIT(node, tag_copy, pairs.start, pairs.end, // style, mark, mark) // if (!PUSH(&context, document.nodes, node)) goto error // // return document.nodes.top - document.nodes.start // //error: // STACK_DEL(&context, pairs) // yaml_free(tag_copy) // // return 0 //} // ///* // * Append an item to a sequence node. // */ // //YAML_DECLARE(int) //yaml_document_append_sequence_item(document *yaml_document_t, // sequence int, item int) //{ // struct { // error yaml_error_type_t // } context // // assert(document) // Non-NULL document is required. // assert(sequence > 0 // && document.nodes.start + sequence <= document.nodes.top) // // Valid sequence id is required. // assert(document.nodes.start[sequence-1].type == YAML_SEQUENCE_NODE) // // A sequence node is required. // assert(item > 0 && document.nodes.start + item <= document.nodes.top) // // Valid item id is required. // // if (!PUSH(&context, // document.nodes.start[sequence-1].data.sequence.items, item)) // return 0 // // return 1 //} // ///* // * Append a pair of a key and a value to a mapping node. // */ // //YAML_DECLARE(int) //yaml_document_append_mapping_pair(document *yaml_document_t, // mapping int, key int, value int) //{ // struct { // error yaml_error_type_t // } context // // pair yaml_node_pair_t // // assert(document) // Non-NULL document is required. // assert(mapping > 0 // && document.nodes.start + mapping <= document.nodes.top) // // Valid mapping id is required. // assert(document.nodes.start[mapping-1].type == YAML_MAPPING_NODE) // // A mapping node is required. // assert(key > 0 && document.nodes.start + key <= document.nodes.top) // // Valid key id is required. // assert(value > 0 && document.nodes.start + value <= document.nodes.top) // // Valid value id is required. // // pair.key = key // pair.value = value // // if (!PUSH(&context, // document.nodes.start[mapping-1].data.mapping.pairs, pair)) // return 0 // // return 1 //} // // ```
Jean-Pierre Corval (born 16 January 1949) is a French hurdler. He competed in the men's 110 metres hurdles at the 1976 Summer Olympics. References External links 1949 births Living people Athletes (track and field) at the 1972 Summer Olympics Athletes (track and field) at the 1976 Summer Olympics French male hurdlers Olympic athletes for France Sportspeople from Yvelines
Sarah Pulliam Bailey is an American journalist who serves as a religion reporter for The Washington Post. Biography Bailey is the great-granddaughter of Eugene C. Pulliam and the granddaughter of Eugene S. Pulliam. She earned a degree in communication from Wheaton College, where she served as editor-in-chief of the Wheaton Record campus newspaper. From 2008 to 2012 she was an online editor for Christianity Today, in which role she interviewed such prominent figures as Barack Obama and Billy Graham. Her work received three awards from the Evangelical Press Association and was nominated for various awards from the Religion Newswriters Association. In June 2013, she became a national correspondent at Religion News Service. One of her first interviews in that position was with Desmond Tutu. In 2014, she was the first to break the news that Mark Driscoll had resigned from the church he founded. References External links Personal website articles at The Washington Post articles at Religion News Service Living people American women journalists 21st-century American women writers American Christian writers Pulliam family Year of birth missing (living people) Wheaton College (Illinois) alumni The Washington Post journalists
Stephanie Stahl Hamilton is an American politician and Presbyterian minister serving as a member of the Arizona House of Representatives for the 21st district. She was previously appointed to the Arizona Senate for the 10th district, and also served as a member of the Arizona House of Representatives from January to October 2021 for the 10th district. Education Hamilton attended Eastern Nazarene College in Quincy, Massachusetts, where she received her Bachelor of Arts in Christian education in 1990. She later attended Princeton Theological Seminary, where she received her Master of Divinity in 2003. Career Stephanie worked for Flagstaff Federated Community Church as the director of Christian Education and Youth Ministry. She later went on to work at St. Mark's Presbyterian Church, PCUSA as the director of youth ministry in 2004. From 2009 to 2014, Hamilton worked at the Montlure Presbyterian Church Camp as the executive director. She has also served on multiple community-led organizations. She served on the Pima County Interfaith Council and on the TUSD Parent Advocacy Council, with her focus on the Family Life Curriculum. In 2018, Hamilton worked on the Save Our Schools campaign as the regional lead for Southern Arizona. In October 2021, members of the Pima County Board of Supervisors appointed Stahl Hamilton to succeed Kirsten Engel in the Arizona Senate. Bible disappearances Early in 2023, officials in the Arizona House of Representatives noticed that two Bibles had been relocated from their normal position within the House's members-only lounge. In two initial incidents, once on March 23, and again less than a week later, a pair of Bibles were removed and hidden under chair cushions, and then in a refrigerator located in an adjoining kitchen area. Concerned, security personnel placed hidden cameras within the lounge area, and on April 10, Stahl-Hamilton was spotted on footage taking the Bibles and hiding them underneath seat cushions in the lounge and in a refrigerator. Stahl-Hamilton was confronted by a CBS 5 Arizona reporter about the incident, but declined to comment, and instead walked away. She did make an apology on the House floor a day later. Elections 2020 In the August primary, Hamilton ran for the 10th legislative district of the Arizona State House of Representatives. Hamilton and incumbent Domingo DeGrazia won the two seats, beating out candidate Paul Stapleton Smith. Stephanie Stahl Hamilton and Domingo DeGrazia won the general election, defeating Republican opponents, Mabelle Gummere and Michael Hicks. References External links Profile at the Arizona Senate Campaign website Year of birth missing (living people) Living people Democratic Party members of the Arizona House of Representatives Eastern Nazarene College alumni 21st-century American politicians 21st-century American women politicians American Presbyterian ministers Women state legislators in Arizona Politicians from Tucson, Arizona
```xml import TextInfo from '@erxes/ui/src/components/TextInfo'; import { IFormResponse } from '@erxes/ui-forms/src/forms/types'; import React from 'react'; import Icon from '@erxes/ui/src/components/Icon'; import { DateWrapper } from '@erxes/ui/src/styles/main'; import dayjs from 'dayjs'; import { Link } from 'react-router-dom'; import { RowTitle } from '@erxes/ui-engage/src/styles'; type Props = { formSubmission: IFormResponse; fieldIds: string[]; }; class ResponseRow extends React.Component<Props> { render() { const { formSubmission, fieldIds } = this.props; const submissions = formSubmission.submissions || []; const result: Array<{ formFieldId: string; value: any }> = []; for (const id of fieldIds) { const foundIndex = submissions.findIndex(e => e.formFieldId === id); if (foundIndex === -1) { result.push({ formFieldId: id, value: '-' }); } else { result.push(submissions[foundIndex]); } } return ( <tr> {result.map(e => { let value = e.value || '-'; if (Array.isArray(e.value)) { value = e.value[0].url; } return ( <td key={e.formFieldId}> <RowTitle> <Link to={`/inbox/index?_id=${formSubmission.contentTypeId}`} target="_blank" rel="noopener noreferrer" > {value} </Link> </RowTitle> </td> ); })} <td> <Icon icon="calender" />{' '} <DateWrapper> {dayjs(formSubmission.createdAt).format('YYYY MMM D, h:mm A')} </DateWrapper> </td> </tr> ); } } export default ResponseRow; ```
```go // go run mksyscall_solaris.go -tags solaris,amd64 syscall_solaris.go syscall_solaris_amd64.go // Code generated by the command above; see README.md. DO NOT EDIT. //go:build solaris && amd64 // +build solaris,amd64 package unix import ( "syscall" "unsafe" ) //go:cgo_import_dynamic libc_pipe pipe "libc.so" //go:cgo_import_dynamic libc_pipe2 pipe2 "libc.so" //go:cgo_import_dynamic libc_getsockname getsockname "libsocket.so" //go:cgo_import_dynamic libc_getcwd getcwd "libc.so" //go:cgo_import_dynamic libc_getgroups getgroups "libc.so" //go:cgo_import_dynamic libc_setgroups setgroups "libc.so" //go:cgo_import_dynamic libc_wait4 wait4 "libc.so" //go:cgo_import_dynamic libc_gethostname gethostname "libc.so" //go:cgo_import_dynamic libc_utimes utimes "libc.so" //go:cgo_import_dynamic libc_utimensat utimensat "libc.so" //go:cgo_import_dynamic libc_fcntl fcntl "libc.so" //go:cgo_import_dynamic libc_futimesat futimesat "libc.so" //go:cgo_import_dynamic libc_accept accept "libsocket.so" //go:cgo_import_dynamic libc___xnet_recvmsg __xnet_recvmsg "libsocket.so" //go:cgo_import_dynamic libc___xnet_sendmsg __xnet_sendmsg "libsocket.so" //go:cgo_import_dynamic libc_acct acct "libc.so" //go:cgo_import_dynamic libc___makedev __makedev "libc.so" //go:cgo_import_dynamic libc___major __major "libc.so" //go:cgo_import_dynamic libc___minor __minor "libc.so" //go:cgo_import_dynamic libc_ioctl ioctl "libc.so" //go:cgo_import_dynamic libc_poll poll "libc.so" //go:cgo_import_dynamic libc_access access "libc.so" //go:cgo_import_dynamic libc_adjtime adjtime "libc.so" //go:cgo_import_dynamic libc_chdir chdir "libc.so" //go:cgo_import_dynamic libc_chmod chmod "libc.so" //go:cgo_import_dynamic libc_chown chown "libc.so" //go:cgo_import_dynamic libc_chroot chroot "libc.so" //go:cgo_import_dynamic libc_clockgettime clockgettime "libc.so" //go:cgo_import_dynamic libc_close close "libc.so" //go:cgo_import_dynamic libc_creat creat "libc.so" //go:cgo_import_dynamic libc_dup dup "libc.so" //go:cgo_import_dynamic libc_dup2 dup2 "libc.so" //go:cgo_import_dynamic libc_exit exit "libc.so" //go:cgo_import_dynamic libc_faccessat faccessat "libc.so" //go:cgo_import_dynamic libc_fchdir fchdir "libc.so" //go:cgo_import_dynamic libc_fchmod fchmod "libc.so" //go:cgo_import_dynamic libc_fchmodat fchmodat "libc.so" //go:cgo_import_dynamic libc_fchown fchown "libc.so" //go:cgo_import_dynamic libc_fchownat fchownat "libc.so" //go:cgo_import_dynamic libc_fdatasync fdatasync "libc.so" //go:cgo_import_dynamic libc_flock flock "libc.so" //go:cgo_import_dynamic libc_fpathconf fpathconf "libc.so" //go:cgo_import_dynamic libc_fstat fstat "libc.so" //go:cgo_import_dynamic libc_fstatat fstatat "libc.so" //go:cgo_import_dynamic libc_fstatvfs fstatvfs "libc.so" //go:cgo_import_dynamic libc_getdents getdents "libc.so" //go:cgo_import_dynamic libc_getgid getgid "libc.so" //go:cgo_import_dynamic libc_getpid getpid "libc.so" //go:cgo_import_dynamic libc_getpgid getpgid "libc.so" //go:cgo_import_dynamic libc_getpgrp getpgrp "libc.so" //go:cgo_import_dynamic libc_geteuid geteuid "libc.so" //go:cgo_import_dynamic libc_getegid getegid "libc.so" //go:cgo_import_dynamic libc_getppid getppid "libc.so" //go:cgo_import_dynamic libc_getpriority getpriority "libc.so" //go:cgo_import_dynamic libc_getrlimit getrlimit "libc.so" //go:cgo_import_dynamic libc_getrusage getrusage "libc.so" //go:cgo_import_dynamic libc_getsid getsid "libc.so" //go:cgo_import_dynamic libc_gettimeofday gettimeofday "libc.so" //go:cgo_import_dynamic libc_getuid getuid "libc.so" //go:cgo_import_dynamic libc_kill kill "libc.so" //go:cgo_import_dynamic libc_lchown lchown "libc.so" //go:cgo_import_dynamic libc_link link "libc.so" //go:cgo_import_dynamic libc___xnet_llisten __xnet_llisten "libsocket.so" //go:cgo_import_dynamic libc_lstat lstat "libc.so" //go:cgo_import_dynamic libc_madvise madvise "libc.so" //go:cgo_import_dynamic libc_mkdir mkdir "libc.so" //go:cgo_import_dynamic libc_mkdirat mkdirat "libc.so" //go:cgo_import_dynamic libc_mkfifo mkfifo "libc.so" //go:cgo_import_dynamic libc_mkfifoat mkfifoat "libc.so" //go:cgo_import_dynamic libc_mknod mknod "libc.so" //go:cgo_import_dynamic libc_mknodat mknodat "libc.so" //go:cgo_import_dynamic libc_mlock mlock "libc.so" //go:cgo_import_dynamic libc_mlockall mlockall "libc.so" //go:cgo_import_dynamic libc_mprotect mprotect "libc.so" //go:cgo_import_dynamic libc_msync msync "libc.so" //go:cgo_import_dynamic libc_munlock munlock "libc.so" //go:cgo_import_dynamic libc_munlockall munlockall "libc.so" //go:cgo_import_dynamic libc_nanosleep nanosleep "libc.so" //go:cgo_import_dynamic libc_open open "libc.so" //go:cgo_import_dynamic libc_openat openat "libc.so" //go:cgo_import_dynamic libc_pathconf pathconf "libc.so" //go:cgo_import_dynamic libc_pause pause "libc.so" //go:cgo_import_dynamic libc_pread pread "libc.so" //go:cgo_import_dynamic libc_pwrite pwrite "libc.so" //go:cgo_import_dynamic libc_read read "libc.so" //go:cgo_import_dynamic libc_readlink readlink "libc.so" //go:cgo_import_dynamic libc_rename rename "libc.so" //go:cgo_import_dynamic libc_renameat renameat "libc.so" //go:cgo_import_dynamic libc_rmdir rmdir "libc.so" //go:cgo_import_dynamic libc_lseek lseek "libc.so" //go:cgo_import_dynamic libc_select select "libc.so" //go:cgo_import_dynamic libc_setegid setegid "libc.so" //go:cgo_import_dynamic libc_seteuid seteuid "libc.so" //go:cgo_import_dynamic libc_setgid setgid "libc.so" //go:cgo_import_dynamic libc_sethostname sethostname "libc.so" //go:cgo_import_dynamic libc_setpgid setpgid "libc.so" //go:cgo_import_dynamic libc_setpriority setpriority "libc.so" //go:cgo_import_dynamic libc_setregid setregid "libc.so" //go:cgo_import_dynamic libc_setreuid setreuid "libc.so" //go:cgo_import_dynamic libc_setsid setsid "libc.so" //go:cgo_import_dynamic libc_setuid setuid "libc.so" //go:cgo_import_dynamic libc_shutdown shutdown "libsocket.so" //go:cgo_import_dynamic libc_stat stat "libc.so" //go:cgo_import_dynamic libc_statvfs statvfs "libc.so" //go:cgo_import_dynamic libc_symlink symlink "libc.so" //go:cgo_import_dynamic libc_sync sync "libc.so" //go:cgo_import_dynamic libc_sysconf sysconf "libc.so" //go:cgo_import_dynamic libc_times times "libc.so" //go:cgo_import_dynamic libc_truncate truncate "libc.so" //go:cgo_import_dynamic libc_fsync fsync "libc.so" //go:cgo_import_dynamic libc_ftruncate ftruncate "libc.so" //go:cgo_import_dynamic libc_umask umask "libc.so" //go:cgo_import_dynamic libc_uname uname "libc.so" //go:cgo_import_dynamic libc_umount umount "libc.so" //go:cgo_import_dynamic libc_unlink unlink "libc.so" //go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so" //go:cgo_import_dynamic libc_ustat ustat "libc.so" //go:cgo_import_dynamic libc_utime utime "libc.so" //go:cgo_import_dynamic libc___xnet_bind __xnet_bind "libsocket.so" //go:cgo_import_dynamic libc___xnet_connect __xnet_connect "libsocket.so" //go:cgo_import_dynamic libc_mmap mmap "libc.so" //go:cgo_import_dynamic libc_munmap munmap "libc.so" //go:cgo_import_dynamic libc_sendfile sendfile "libsendfile.so" //go:cgo_import_dynamic libc___xnet_sendto __xnet_sendto "libsocket.so" //go:cgo_import_dynamic libc___xnet_socket __xnet_socket "libsocket.so" //go:cgo_import_dynamic libc___xnet_socketpair __xnet_socketpair "libsocket.so" //go:cgo_import_dynamic libc_write write "libc.so" //go:cgo_import_dynamic libc___xnet_getsockopt __xnet_getsockopt "libsocket.so" //go:cgo_import_dynamic libc_getpeername getpeername "libsocket.so" //go:cgo_import_dynamic libc_setsockopt setsockopt "libsocket.so" //go:cgo_import_dynamic libc_recvfrom recvfrom "libsocket.so" //go:cgo_import_dynamic libc_port_create port_create "libc.so" //go:cgo_import_dynamic libc_port_associate port_associate "libc.so" //go:cgo_import_dynamic libc_port_dissociate port_dissociate "libc.so" //go:cgo_import_dynamic libc_port_get port_get "libc.so" //go:cgo_import_dynamic libc_port_getn port_getn "libc.so" //go:cgo_import_dynamic libc_putmsg putmsg "libc.so" //go:cgo_import_dynamic libc_getmsg getmsg "libc.so" //go:linkname procpipe libc_pipe //go:linkname procpipe2 libc_pipe2 //go:linkname procgetsockname libc_getsockname //go:linkname procGetcwd libc_getcwd //go:linkname procgetgroups libc_getgroups //go:linkname procsetgroups libc_setgroups //go:linkname procwait4 libc_wait4 //go:linkname procgethostname libc_gethostname //go:linkname procutimes libc_utimes //go:linkname procutimensat libc_utimensat //go:linkname procfcntl libc_fcntl //go:linkname procfutimesat libc_futimesat //go:linkname procaccept libc_accept //go:linkname proc__xnet_recvmsg libc___xnet_recvmsg //go:linkname proc__xnet_sendmsg libc___xnet_sendmsg //go:linkname procacct libc_acct //go:linkname proc__makedev libc___makedev //go:linkname proc__major libc___major //go:linkname proc__minor libc___minor //go:linkname procioctl libc_ioctl //go:linkname procpoll libc_poll //go:linkname procAccess libc_access //go:linkname procAdjtime libc_adjtime //go:linkname procChdir libc_chdir //go:linkname procChmod libc_chmod //go:linkname procChown libc_chown //go:linkname procChroot libc_chroot //go:linkname procClockGettime libc_clockgettime //go:linkname procClose libc_close //go:linkname procCreat libc_creat //go:linkname procDup libc_dup //go:linkname procDup2 libc_dup2 //go:linkname procExit libc_exit //go:linkname procFaccessat libc_faccessat //go:linkname procFchdir libc_fchdir //go:linkname procFchmod libc_fchmod //go:linkname procFchmodat libc_fchmodat //go:linkname procFchown libc_fchown //go:linkname procFchownat libc_fchownat //go:linkname procFdatasync libc_fdatasync //go:linkname procFlock libc_flock //go:linkname procFpathconf libc_fpathconf //go:linkname procFstat libc_fstat //go:linkname procFstatat libc_fstatat //go:linkname procFstatvfs libc_fstatvfs //go:linkname procGetdents libc_getdents //go:linkname procGetgid libc_getgid //go:linkname procGetpid libc_getpid //go:linkname procGetpgid libc_getpgid //go:linkname procGetpgrp libc_getpgrp //go:linkname procGeteuid libc_geteuid //go:linkname procGetegid libc_getegid //go:linkname procGetppid libc_getppid //go:linkname procGetpriority libc_getpriority //go:linkname procGetrlimit libc_getrlimit //go:linkname procGetrusage libc_getrusage //go:linkname procGetsid libc_getsid //go:linkname procGettimeofday libc_gettimeofday //go:linkname procGetuid libc_getuid //go:linkname procKill libc_kill //go:linkname procLchown libc_lchown //go:linkname procLink libc_link //go:linkname proc__xnet_llisten libc___xnet_llisten //go:linkname procLstat libc_lstat //go:linkname procMadvise libc_madvise //go:linkname procMkdir libc_mkdir //go:linkname procMkdirat libc_mkdirat //go:linkname procMkfifo libc_mkfifo //go:linkname procMkfifoat libc_mkfifoat //go:linkname procMknod libc_mknod //go:linkname procMknodat libc_mknodat //go:linkname procMlock libc_mlock //go:linkname procMlockall libc_mlockall //go:linkname procMprotect libc_mprotect //go:linkname procMsync libc_msync //go:linkname procMunlock libc_munlock //go:linkname procMunlockall libc_munlockall //go:linkname procNanosleep libc_nanosleep //go:linkname procOpen libc_open //go:linkname procOpenat libc_openat //go:linkname procPathconf libc_pathconf //go:linkname procPause libc_pause //go:linkname procpread libc_pread //go:linkname procpwrite libc_pwrite //go:linkname procread libc_read //go:linkname procReadlink libc_readlink //go:linkname procRename libc_rename //go:linkname procRenameat libc_renameat //go:linkname procRmdir libc_rmdir //go:linkname proclseek libc_lseek //go:linkname procSelect libc_select //go:linkname procSetegid libc_setegid //go:linkname procSeteuid libc_seteuid //go:linkname procSetgid libc_setgid //go:linkname procSethostname libc_sethostname //go:linkname procSetpgid libc_setpgid //go:linkname procSetpriority libc_setpriority //go:linkname procSetregid libc_setregid //go:linkname procSetreuid libc_setreuid //go:linkname procSetsid libc_setsid //go:linkname procSetuid libc_setuid //go:linkname procshutdown libc_shutdown //go:linkname procStat libc_stat //go:linkname procStatvfs libc_statvfs //go:linkname procSymlink libc_symlink //go:linkname procSync libc_sync //go:linkname procSysconf libc_sysconf //go:linkname procTimes libc_times //go:linkname procTruncate libc_truncate //go:linkname procFsync libc_fsync //go:linkname procFtruncate libc_ftruncate //go:linkname procUmask libc_umask //go:linkname procUname libc_uname //go:linkname procumount libc_umount //go:linkname procUnlink libc_unlink //go:linkname procUnlinkat libc_unlinkat //go:linkname procUstat libc_ustat //go:linkname procUtime libc_utime //go:linkname proc__xnet_bind libc___xnet_bind //go:linkname proc__xnet_connect libc___xnet_connect //go:linkname procmmap libc_mmap //go:linkname procmunmap libc_munmap //go:linkname procsendfile libc_sendfile //go:linkname proc__xnet_sendto libc___xnet_sendto //go:linkname proc__xnet_socket libc___xnet_socket //go:linkname proc__xnet_socketpair libc___xnet_socketpair //go:linkname procwrite libc_write //go:linkname proc__xnet_getsockopt libc___xnet_getsockopt //go:linkname procgetpeername libc_getpeername //go:linkname procsetsockopt libc_setsockopt //go:linkname procrecvfrom libc_recvfrom //go:linkname procport_create libc_port_create //go:linkname procport_associate libc_port_associate //go:linkname procport_dissociate libc_port_dissociate //go:linkname procport_get libc_port_get //go:linkname procport_getn libc_port_getn //go:linkname procputmsg libc_putmsg //go:linkname procgetmsg libc_getmsg var ( procpipe, procpipe2, procgetsockname, procGetcwd, procgetgroups, procsetgroups, procwait4, procgethostname, procutimes, procutimensat, procfcntl, procfutimesat, procaccept, proc__xnet_recvmsg, proc__xnet_sendmsg, procacct, proc__makedev, proc__major, proc__minor, procioctl, procpoll, procAccess, procAdjtime, procChdir, procChmod, procChown, procChroot, procClockGettime, procClose, procCreat, procDup, procDup2, procExit, procFaccessat, procFchdir, procFchmod, procFchmodat, procFchown, procFchownat, procFdatasync, procFlock, procFpathconf, procFstat, procFstatat, procFstatvfs, procGetdents, procGetgid, procGetpid, procGetpgid, procGetpgrp, procGeteuid, procGetegid, procGetppid, procGetpriority, procGetrlimit, procGetrusage, procGetsid, procGettimeofday, procGetuid, procKill, procLchown, procLink, proc__xnet_llisten, procLstat, procMadvise, procMkdir, procMkdirat, procMkfifo, procMkfifoat, procMknod, procMknodat, procMlock, procMlockall, procMprotect, procMsync, procMunlock, procMunlockall, procNanosleep, procOpen, procOpenat, procPathconf, procPause, procpread, procpwrite, procread, procReadlink, procRename, procRenameat, procRmdir, proclseek, procSelect, procSetegid, procSeteuid, procSetgid, procSethostname, procSetpgid, procSetpriority, procSetregid, procSetreuid, procSetsid, procSetuid, procshutdown, procStat, procStatvfs, procSymlink, procSync, procSysconf, procTimes, procTruncate, procFsync, procFtruncate, procUmask, procUname, procumount, procUnlink, procUnlinkat, procUstat, procUtime, proc__xnet_bind, proc__xnet_connect, procmmap, procmunmap, procsendfile, proc__xnet_sendto, proc__xnet_socket, proc__xnet_socketpair, procwrite, proc__xnet_getsockopt, procgetpeername, procsetsockopt, procrecvfrom, procport_create, procport_associate, procport_dissociate, procport_get, procport_getn, procputmsg, procgetmsg syscallFunc ) // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func pipe(p *[2]_C_int) (n int, err error) { r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procpipe)), 1, uintptr(unsafe.Pointer(p)), 0, 0, 0, 0, 0) n = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func pipe2(p *[2]_C_int, flags int) (err error) { _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procpipe2)), 2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procgetsockname)), 3, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getcwd(buf []byte) (n int, err error) { var _p0 *byte if len(buf) > 0 { _p0 = &buf[0] } r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procGetcwd)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), 0, 0, 0, 0) n = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func getgroups(ngid int, gid *_Gid_t) (n int, err error) { r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procgetgroups)), 2, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0, 0, 0, 0) n = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func setgroups(ngid int, gid *_Gid_t) (err error) { _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procsetgroups)), 2, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func wait4(pid int32, statusp *_C_int, options int, rusage *Rusage) (wpid int32, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procwait4)), 4, uintptr(pid), uintptr(unsafe.Pointer(statusp)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0) wpid = int32(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func gethostname(buf []byte) (n int, err error) { var _p0 *byte if len(buf) > 0 { _p0 = &buf[0] } r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procgethostname)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), 0, 0, 0, 0) n = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func utimes(path string, times *[2]Timeval) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procutimes)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func utimensat(fd int, path string, times *[2]Timespec, flag int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procutimensat)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flag), 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func fcntl(fd int, cmd int, arg int) (val int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(arg), 0, 0, 0) val = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func futimesat(fildes int, path *byte, times *[2]Timeval) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfutimesat)), 3, uintptr(fildes), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)), 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procaccept)), 3, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0) fd = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_recvmsg)), 3, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0) n = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_sendmsg)), 3, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0) n = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func acct(path *byte) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procacct)), 1, uintptr(unsafe.Pointer(path)), 0, 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func __makedev(version int, major uint, minor uint) (val uint64) { r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&proc__makedev)), 3, uintptr(version), uintptr(major), uintptr(minor), 0, 0, 0) val = uint64(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func __major(version int, dev uint64) (val uint) { r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&proc__major)), 2, uintptr(version), uintptr(dev), 0, 0, 0, 0) val = uint(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func __minor(version int, dev uint64) (val uint) { r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&proc__minor)), 2, uintptr(version), uintptr(dev), 0, 0, 0, 0) val = uint(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func ioctlRet(fd int, req int, arg uintptr) (ret int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procioctl)), 3, uintptr(fd), uintptr(req), uintptr(arg), 0, 0, 0) ret = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func ioctlPtrRet(fd int, req int, arg unsafe.Pointer) (ret int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procioctl)), 3, uintptr(fd), uintptr(req), uintptr(arg), 0, 0, 0) ret = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procpoll)), 3, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout), 0, 0, 0) n = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Access(path string, mode uint32) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procAccess)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Adjtime(delta *Timeval, olddelta *Timeval) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procAdjtime)), 2, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Chdir(path string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procChdir)), 1, uintptr(unsafe.Pointer(_p0)), 0, 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Chmod(path string, mode uint32) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procChmod)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Chown(path string, uid int, gid int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procChown)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Chroot(path string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procChroot)), 1, uintptr(unsafe.Pointer(_p0)), 0, 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func ClockGettime(clockid int32, time *Timespec) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procClockGettime)), 2, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Close(fd int) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procClose)), 1, uintptr(fd), 0, 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Creat(path string, mode uint32) (fd int, err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procCreat)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0) fd = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Dup(fd int) (nfd int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procDup)), 1, uintptr(fd), 0, 0, 0, 0, 0) nfd = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Dup2(oldfd int, newfd int) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procDup2)), 2, uintptr(oldfd), uintptr(newfd), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Exit(code int) { sysvicall6(uintptr(unsafe.Pointer(&procExit)), 1, uintptr(code), 0, 0, 0, 0, 0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFaccessat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fchdir(fd int) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchdir)), 1, uintptr(fd), 0, 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fchmod(fd int, mode uint32) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchmod)), 2, uintptr(fd), uintptr(mode), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchmodat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fchown(fd int, uid int, gid int) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchown)), 3, uintptr(fd), uintptr(uid), uintptr(gid), 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchownat)), 5, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fdatasync(fd int) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFdatasync)), 1, uintptr(fd), 0, 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Flock(fd int, how int) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFlock)), 2, uintptr(fd), uintptr(how), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fpathconf(fd int, name int) (val int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFpathconf)), 2, uintptr(fd), uintptr(name), 0, 0, 0, 0) val = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fstat(fd int, stat *Stat_t) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFstat)), 2, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFstatat)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fstatvfs(fd int, vfsstat *Statvfs_t) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFstatvfs)), 2, uintptr(fd), uintptr(unsafe.Pointer(vfsstat)), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getdents(fd int, buf []byte, basep *uintptr) (n int, err error) { var _p0 *byte if len(buf) > 0 { _p0 = &buf[0] } r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procGetdents)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0) n = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getgid() (gid int) { r0, _, _ := rawSysvicall6(uintptr(unsafe.Pointer(&procGetgid)), 0, 0, 0, 0, 0, 0, 0) gid = int(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getpid() (pid int) { r0, _, _ := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpid)), 0, 0, 0, 0, 0, 0, 0) pid = int(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getpgid(pid int) (pgid int, err error) { r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpgid)), 1, uintptr(pid), 0, 0, 0, 0, 0) pgid = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getpgrp() (pgid int, err error) { r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpgrp)), 0, 0, 0, 0, 0, 0, 0) pgid = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Geteuid() (euid int) { r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGeteuid)), 0, 0, 0, 0, 0, 0, 0) euid = int(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getegid() (egid int) { r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGetegid)), 0, 0, 0, 0, 0, 0, 0) egid = int(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getppid() (ppid int) { r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGetppid)), 0, 0, 0, 0, 0, 0, 0) ppid = int(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getpriority(which int, who int) (n int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procGetpriority)), 2, uintptr(which), uintptr(who), 0, 0, 0, 0) n = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getrlimit(which int, lim *Rlimit) (err error) { _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetrlimit)), 2, uintptr(which), uintptr(unsafe.Pointer(lim)), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getrusage(who int, rusage *Rusage) (err error) { _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetrusage)), 2, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getsid(pid int) (sid int, err error) { r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetsid)), 1, uintptr(pid), 0, 0, 0, 0, 0) sid = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Gettimeofday(tv *Timeval) (err error) { _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGettimeofday)), 1, uintptr(unsafe.Pointer(tv)), 0, 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Getuid() (uid int) { r0, _, _ := rawSysvicall6(uintptr(unsafe.Pointer(&procGetuid)), 0, 0, 0, 0, 0, 0, 0) uid = int(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Kill(pid int, signum syscall.Signal) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procKill)), 2, uintptr(pid), uintptr(signum), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Lchown(path string, uid int, gid int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procLchown)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Link(path string, link string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } var _p1 *byte _p1, err = BytePtrFromString(link) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procLink)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Listen(s int, backlog int) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_llisten)), 2, uintptr(s), uintptr(backlog), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Lstat(path string, stat *Stat_t) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procLstat)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Madvise(b []byte, advice int) (err error) { var _p0 *byte if len(b) > 0 { _p0 = &b[0] } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMadvise)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), uintptr(advice), 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Mkdir(path string, mode uint32) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkdir)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Mkdirat(dirfd int, path string, mode uint32) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkdirat)), 3, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Mkfifo(path string, mode uint32) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkfifo)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Mkfifoat(dirfd int, path string, mode uint32) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkfifoat)), 3, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Mknod(path string, mode uint32, dev int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMknod)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMknodat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Mlock(b []byte) (err error) { var _p0 *byte if len(b) > 0 { _p0 = &b[0] } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMlock)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Mlockall(flags int) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMlockall)), 1, uintptr(flags), 0, 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Mprotect(b []byte, prot int) (err error) { var _p0 *byte if len(b) > 0 { _p0 = &b[0] } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMprotect)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), uintptr(prot), 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Msync(b []byte, flags int) (err error) { var _p0 *byte if len(b) > 0 { _p0 = &b[0] } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMsync)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), uintptr(flags), 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Munlock(b []byte) (err error) { var _p0 *byte if len(b) > 0 { _p0 = &b[0] } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMunlock)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Munlockall() (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMunlockall)), 0, 0, 0, 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Nanosleep(time *Timespec, leftover *Timespec) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procNanosleep)), 2, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Open(path string, mode int, perm uint32) (fd int, err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procOpen)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0, 0) fd = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procOpenat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0) fd = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Pathconf(path string, name int) (val int, err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPathconf)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0, 0, 0, 0) val = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Pause() (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPause)), 0, 0, 0, 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func pread(fd int, p []byte, offset int64) (n int, err error) { var _p0 *byte if len(p) > 0 { _p0 = &p[0] } r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procpread)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), uintptr(offset), 0, 0) n = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func pwrite(fd int, p []byte, offset int64) (n int, err error) { var _p0 *byte if len(p) > 0 { _p0 = &p[0] } r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procpwrite)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), uintptr(offset), 0, 0) n = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func read(fd int, p []byte) (n int, err error) { var _p0 *byte if len(p) > 0 { _p0 = &p[0] } r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procread)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), 0, 0, 0) n = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Readlink(path string, buf []byte) (n int, err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } var _p1 *byte if len(buf) > 0 { _p1 = &buf[0] } r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procReadlink)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(len(buf)), 0, 0, 0) n = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Rename(from string, to string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(from) if err != nil { return } var _p1 *byte _p1, err = BytePtrFromString(to) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procRename)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(oldpath) if err != nil { return } var _p1 *byte _p1, err = BytePtrFromString(newpath) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procRenameat)), 4, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Rmdir(path string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procRmdir)), 1, uintptr(unsafe.Pointer(_p0)), 0, 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proclseek)), 3, uintptr(fd), uintptr(offset), uintptr(whence), 0, 0, 0) newoffset = int64(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSelect)), 5, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0) n = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Setegid(egid int) (err error) { _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetegid)), 1, uintptr(egid), 0, 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Seteuid(euid int) (err error) { _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSeteuid)), 1, uintptr(euid), 0, 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Setgid(gid int) (err error) { _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetgid)), 1, uintptr(gid), 0, 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Sethostname(p []byte) (err error) { var _p0 *byte if len(p) > 0 { _p0 = &p[0] } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSethostname)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Setpgid(pid int, pgid int) (err error) { _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetpgid)), 2, uintptr(pid), uintptr(pgid), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Setpriority(which int, who int, prio int) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSetpriority)), 3, uintptr(which), uintptr(who), uintptr(prio), 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Setregid(rgid int, egid int) (err error) { _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetregid)), 2, uintptr(rgid), uintptr(egid), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Setreuid(ruid int, euid int) (err error) { _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetreuid)), 2, uintptr(ruid), uintptr(euid), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Setsid() (pid int, err error) { r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetsid)), 0, 0, 0, 0, 0, 0, 0) pid = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Setuid(uid int) (err error) { _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetuid)), 1, uintptr(uid), 0, 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Shutdown(s int, how int) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procshutdown)), 2, uintptr(s), uintptr(how), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Stat(path string, stat *Stat_t) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procStat)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Statvfs(path string, vfsstat *Statvfs_t) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procStatvfs)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(vfsstat)), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Symlink(path string, link string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } var _p1 *byte _p1, err = BytePtrFromString(link) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSymlink)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Sync() (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSync)), 0, 0, 0, 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Sysconf(which int) (n int64, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSysconf)), 1, uintptr(which), 0, 0, 0, 0, 0) n = int64(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Times(tms *Tms) (ticks uintptr, err error) { r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procTimes)), 1, uintptr(unsafe.Pointer(tms)), 0, 0, 0, 0, 0) ticks = uintptr(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Truncate(path string, length int64) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procTruncate)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Fsync(fd int) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFsync)), 1, uintptr(fd), 0, 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Ftruncate(fd int, length int64) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFtruncate)), 2, uintptr(fd), uintptr(length), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Umask(mask int) (oldmask int) { r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procUmask)), 1, uintptr(mask), 0, 0, 0, 0, 0) oldmask = int(r0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Uname(buf *Utsname) (err error) { _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procUname)), 1, uintptr(unsafe.Pointer(buf)), 0, 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Unmount(target string, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(target) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procumount)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Unlink(path string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUnlink)), 1, uintptr(unsafe.Pointer(_p0)), 0, 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Unlinkat(dirfd int, path string, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUnlinkat)), 3, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Ustat(dev int, ubuf *Ustat_t) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUstat)), 2, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Utime(path string, buf *Utimbuf) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUtime)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_bind)), 3, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_connect)), 3, uintptr(s), uintptr(addr), uintptr(addrlen), 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procmmap)), 6, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos)) ret = uintptr(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func munmap(addr uintptr, length uintptr) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procmunmap)), 2, uintptr(addr), uintptr(length), 0, 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsendfile)), 4, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0) written = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) { var _p0 *byte if len(buf) > 0 { _p0 = &buf[0] } _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_sendto)), 6, uintptr(s), uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen)) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func socket(domain int, typ int, proto int) (fd int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_socket)), 3, uintptr(domain), uintptr(typ), uintptr(proto), 0, 0, 0) fd = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) { _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&proc__xnet_socketpair)), 4, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func write(fd int, p []byte) (n int, err error) { var _p0 *byte if len(p) > 0 { _p0 = &p[0] } r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procwrite)), 3, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), 0, 0, 0) n = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&proc__xnet_getsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) { _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procgetpeername)), 3, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsetsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) { var _p0 *byte if len(p) > 0 { _p0 = &p[0] } r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procrecvfrom)), 6, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen))) n = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func port_create() (n int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procport_create)), 0, 0, 0, 0, 0, 0, 0) n = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func port_associate(port int, source int, object uintptr, events int, user *byte) (n int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procport_associate)), 5, uintptr(port), uintptr(source), uintptr(object), uintptr(events), uintptr(unsafe.Pointer(user)), 0) n = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func port_dissociate(port int, source int, object uintptr) (n int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procport_dissociate)), 3, uintptr(port), uintptr(source), uintptr(object), 0, 0, 0) n = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func port_get(port int, pe *portEvent, timeout *Timespec) (n int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procport_get)), 3, uintptr(port), uintptr(unsafe.Pointer(pe)), uintptr(unsafe.Pointer(timeout)), 0, 0, 0) n = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func port_getn(port int, pe *portEvent, max uint32, nget *uint32, timeout *Timespec) (n int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procport_getn)), 5, uintptr(port), uintptr(unsafe.Pointer(pe)), uintptr(max), uintptr(unsafe.Pointer(nget)), uintptr(unsafe.Pointer(timeout)), 0) n = int(r0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func putmsg(fd int, clptr *strbuf, dataptr *strbuf, flags int) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procputmsg)), 4, uintptr(fd), uintptr(unsafe.Pointer(clptr)), uintptr(unsafe.Pointer(dataptr)), uintptr(flags), 0, 0) if e1 != 0 { err = e1 } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func getmsg(fd int, clptr *strbuf, dataptr *strbuf, flags *int) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procgetmsg)), 4, uintptr(fd), uintptr(unsafe.Pointer(clptr)), uintptr(unsafe.Pointer(dataptr)), uintptr(unsafe.Pointer(flags)), 0, 0) if e1 != 0 { err = e1 } return } ```
```javascript /* For licensing, see LICENSE.md or path_to_url */ CKEDITOR.plugins.setLang("placeholder","en",{title:"Placeholder Properties",toolbar:"Placeholder",name:"Placeholder Name",invalidName:"The placeholder can not be empty and can not contain any of following characters: [, ], <, >",pathName:"placeholder"}); ```
```ruby exclude :test_getbinaryfile_command_injection, "needs investigation" exclude :test_getbinaryfile_command_injection, "needs investigation" exclude :test_putbinaryfile_command_injection, "hangs" exclude :test_list_read_timeout_exceeded, "transient" exclude :test_read_timeout_exceeded, "transient" ```
```kotlin package mega.privacy.android.legacy.core.ui.controls.controlssliders import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Row import androidx.compose.foundation.selection.toggleable import androidx.compose.material.MaterialTheme import androidx.compose.material.Text import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.remember import androidx.compose.runtime.setValue import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.R import androidx.compose.ui.res.stringResource import androidx.compose.ui.semantics.Role import androidx.compose.ui.tooling.preview.PreviewParameter import mega.privacy.android.shared.original.core.ui.controls.controlssliders.MegaSwitch import mega.privacy.android.shared.original.core.ui.preview.BooleanProvider import mega.privacy.android.shared.original.core.ui.preview.CombinedTextAndThemePreviews import mega.privacy.android.shared.original.core.ui.theme.OriginalTempTheme import mega.privacy.android.shared.original.core.ui.theme.grey_alpha_087 import mega.privacy.android.shared.original.core.ui.theme.white_alpha_087 /** * A switch with a label */ @Composable fun LabelledSwitch( label: String, checked: Boolean, onCheckChanged: (Boolean) -> Unit, modifier: Modifier = Modifier, ) { Row( verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.SpaceBetween, modifier = modifier .toggleable( value = checked, role = Role.Checkbox, onValueChange = onCheckChanged ) ) { Text( text = label, style = MaterialTheme.typography.subtitle1, color = if (!MaterialTheme.colors.isLight) white_alpha_087 else grey_alpha_087 ) MegaSwitch( checked = checked, onCheckedChange = null, ) } } @CombinedTextAndThemePreviews @Composable private fun LabelledSwitchPreview( @PreviewParameter(BooleanProvider::class) initialValue: Boolean, ) { var checked by remember { mutableStateOf(initialValue) } OriginalTempTheme(isDark = isSystemInDarkTheme()) { LabelledSwitch(label = stringResource(if (checked) R.string.on else R.string.off), checked = checked, onCheckChanged = { checked = !checked }) } } ```
Viola Emily Allen (October 27, 1867 – May 9, 1948) was an American stage actress who played leading roles in Shakespeare and other plays, including many original plays. She starred in over two dozen Broadway productions from 1885 to 1916. Beginning in 1915, she appeared in three silent films. Biography Allen was born in Huntsville, Alabama, on October 27, 1867, (some sources say 1869), the daughter of actors Charles Leslie Allen and Sarah JaneLyon. She moved to Boston at three years of age and later moved with her family to Toronto. She was educated at the Bishop Strachan School, her brothers being educated at Trinity College School, Port Hope, Ontario. She then attended a boarding school in New York City, Miss Cornell's School for Girls. Allen had her first stage appearance at the age of 14 at Madison Square Theatre in New York on July 4, 1882. Annie Russell, who was playing the title role in Esmeralda, took ill at one point during the long run. Allen's father was a member of the cast, and the theater's stage manager asked if Mr. Allen would allow his daughter to play the part. Allen's debut attracted the attention of actor John McCullough, who made her his leading lady in 1883. Between the years of 1884 and 1886, she performed in a variety of modern and Shakespearean plays. She performed with the best-known 19th century actors including: Tommaso Salvini, Lawrence Barrett, Joseph Jefferson, and William J. Florence. She is best remembered for her roles in Shenandoah (by Bronson Howard) and Little Lord Fauntleroy (by Frances Eliza Burnett). From 1885 to 1916, Allen starred in over two dozen Broadway productions, creating characters in many original plays. She played classical Shakesperean and comedy roles with Salvini, Lawrence Jarrett, Joseph Jefferson and V. J. Florence. In 1898, she created the character of Glory Quayle in Hall Caine's The Christian. She acted in The Masqueraders, Under the Red Robe, The Christian, In the Palace of the King (1900), Twelfth Night, A Winter's Tale, As You Like It, The Lady of Coventry (1911), and others. She played such roles as Virginia, Cordelia, Desdemona, Lydia Languish, Dolores, Julia and Roma. Allen starred in the 1915 silent film The White Sister along with Richard Travers. The film was produced by the Essanay Studios and was based on the 1909 play The White Sister that was a hit for Allen. Her last professional appearance was in 1918, at a benefit supporting war relief. She remained an active supporter of charitable and theatrical organizations. Allen married Peter Edward Cornell Duryea on August 16, 1905, and they remained wed until his death in 1944. Allen died in her home in New York City on May 9, 1948, aged 78. She is buried in Sleepy Hollow Cemetery, Sleepy Hollow, New York. Filmography Getting Evidence (1907) short The Scales of Justice (1914) The White Sister (1915) Open Your Eyes (1919) References Further reading L. C. Strang, Famous Actresses of the Day in America, (Boston, 1899) External links Viola Allen, portrait gallery at New York Public Library 1860s births 1948 deaths Actresses from New York City American child actresses American silent film actresses Actresses from Alabama Actors from Huntsville, Alabama Burials at Sleepy Hollow Cemetery 19th-century American actresses American stage actresses 20th-century American actresses
The Causes of Evolution is a 1932 book on evolution by J.B.S. Haldane (1990 edition ), based on a series of January 1931 lectures entitled "A Re-examination of Darwinism". It was influential in the founding of population genetics and the modern synthesis. Chapters It contains the following chapters: Introduction Variation within a Species The Genetical Analysis of Interspecific Differences Natural Selection What is Fitness? Conclusion The book also contains an extensive appendix containing the majority of Haldane's mathematical treatment of the subject. See also Evolutionary biology External links Description by Princeton U Press Contemporary review by R.A. Fisher Review of the 1990 Princeton University reprint 1932 non-fiction books Books about evolution Modern synthesis (20th century) Population genetics Works by J. B. S. Haldane 1932 in biology
Randy Vivien Mavinga (born 1 May 2000) is a French professional footballer who plays as a right-back for Greek Super League 2 club Kalamata. Career In March 2016, Mavinga moved to Ligue 1 side RC Lens from fellow French club JA Drancy. Mavinga joined JA Drancy in the 2013–14 season after signing from FC Les Lilas. He progressed and impressed while being at JA Drancy, impressing now Paris FC U19 coach Flavien Binant at the time. During his time at Lens, Mavinga never managed to breakthrough to the first team, however, he played a healthy portion of games for the reserves 'Lens B', with the majority of appearances being in the 2019–20 season. Despite playing most of his games in the 2019–20 period, Mavinga in fact made his Lens B debut in 2017, playing 35 minutes in a 1–1 draw versus IC Croix. Mavinga didn't feature at all during the 2018–19 season for Lens B, however made his 'breakthrough' season in the 2019–20 campaign, making 16 appearances for the French B side. He featured in games against Reims B and his former club JA Drancy during this period too, where he was seemingly enjoying starting to make strides in his RC Lens career. On October 5, 2020, Mavinga signed for Greek side Kalamata on a deal that runs until June 2023. He made his debut for the club on 7 November 2021, featuring in a 1–0 away loss to AEK Athens B. Since then, the right-back has made a total of 9 appearances for Kalamata, helping the Greek team maintain a healthy position in the league table. References 2000 births Living people French men's footballers Men's association football defenders JA Drancy players RC Lens players Kalamata F.C. players Super League Greece 2 players French expatriate men's footballers French expatriate sportspeople in Greece Expatriate men's footballers in Greece
St. Stephen's Church (Iglesia San Esteban) is a historic Roman Catholic church in downtown San Salvador, El Salvador. It belongs to the Roman Catholic Archdiocese of San Salvador and its patron saint is the protomartyr, St. Stephen. Built 1880–1890, it was heavily damaged during the January 2001 and February 2001 El Salvador earthquakes, and is currently closed pending repairs. At the time of its construction, the church's building materials, imported from Belgium, were widely admired by 19th-century residents of San Salvador. The church is one of the important churches of San Salvador, having a key role in the "semana santa" (Holy Week) celebrations of San Salvador. The Church marks the start of "The Road of Bitterness" (la Calle de la Amargura), El Salvador's analog of the Via Dolorosa, over which the Good Friday Via Crucis procession makes its way, to the destination Church "El Calvario." The two churches mark the vertical axis of a giant cross formed over the Salvadoran capital with its horizontal axis formed by a third church, La Vega, and the Metropolitan Cathedral. Notes External links Picture of Iglesia San Esteban in its current state Illustration: San Salvador mayor's restoration plan for the Church Roman Catholic churches in El Salvador Buildings and structures in San Salvador
```xml // See LICENSE.txt for license information. import Fuse from 'fuse.js'; import {debounce} from 'lodash'; import React, {useCallback, useEffect, useMemo} from 'react'; import {FlatList, Platform, type StyleProp, Text, View, type ViewStyle} from 'react-native'; import {useSafeAreaInsets} from 'react-native-safe-area-context'; import {searchCustomEmojis} from '@actions/remote/custom_emoji'; import {handleReactionToLatestPost} from '@actions/remote/reactions'; import Emoji from '@components/emoji'; import TouchableWithFeedback from '@components/touchable_with_feedback'; import {useServerUrl} from '@context/server'; import {useTheme} from '@context/theme'; import {getEmojiByName, getEmojis, searchEmojis} from '@utils/emoji/helpers'; import {changeOpacity, makeStyleSheetFromTheme} from '@utils/theme'; import type CustomEmojiModel from '@typings/database/models/servers/custom_emoji'; const EMOJI_REGEX = /(^|\s|^\+|^-)(:([^:\s]*))$/i; const EMOJI_REGEX_WITHOUT_PREFIX = /\B(:([^:\s]*))$/i; const REACTION_REGEX = /^(\+|-):([^:\s]+)$/; const FUSE_OPTIONS = { findAllMatches: true, ignoreLocation: true, includeMatches: true, shouldSort: false, includeScore: true, }; const EMOJI_SIZE = 24; const MIN_SEARCH_LENGTH = 2; const SEARCH_DELAY = 500; const getStyleFromTheme = makeStyleSheetFromTheme((theme) => { return { emoji: { marginRight: 5, }, emojiName: { fontSize: 15, color: theme.centerChannelColor, }, emojiText: { color: '#000', fontWeight: 'bold', }, listView: { paddingTop: 16, }, row: { flexDirection: 'row', alignItems: 'center', overflow: 'hidden', paddingBottom: 8, height: 40, }, }; }); const keyExtractor = (item: string) => item; type Props = { cursorPosition: number; customEmojis: CustomEmojiModel[]; updateValue: (v: string) => void; onShowingChange: (c: boolean) => void; rootId?: string; value: string; nestedScrollEnabled: boolean; skinTone: string; hasFilesAttached?: boolean; inPost: boolean; listStyle: StyleProp<ViewStyle>; } const EmojiSuggestion = ({ cursorPosition, customEmojis = [], updateValue, onShowingChange, rootId, value, nestedScrollEnabled, skinTone, hasFilesAttached = false, inPost, listStyle, }: Props) => { const insets = useSafeAreaInsets(); const theme = useTheme(); const style = getStyleFromTheme(theme); const serverUrl = useServerUrl(); const containerStyle = useMemo(() => ({paddingBottom: insets.bottom + 12}) , [insets.bottom]); const emojis = useMemo(() => getEmojis(skinTone, customEmojis), [skinTone, customEmojis]); const searchTerm = useMemo(() => { const match = value.substring(0, cursorPosition).match(EMOJI_REGEX); return match?.[3] || ''; }, [value, cursorPosition]); const fuse = useMemo(() => { return new Fuse(emojis, FUSE_OPTIONS); }, [emojis]); const data = useMemo(() => { if (searchTerm.length < MIN_SEARCH_LENGTH) { return []; } return searchEmojis(fuse, searchTerm); }, [fuse, searchTerm]); const showingElements = Boolean(data.length); const completeSuggestion = useCallback((emoji: string) => { if (!hasFilesAttached && inPost) { const match = value.match(REACTION_REGEX); if (match) { handleReactionToLatestPost(serverUrl, emoji, match[1] === '+', rootId); updateValue(''); return; } } // We are going to set a double : on iOS to prevent the auto correct from taking over and replacing it // with the wrong value, this is a hack but I could not found another way to solve it let completedDraft: string; let prefix = ':'; if (Platform.OS === 'ios') { prefix = '::'; } const emojiPart = value.substring(0, cursorPosition); const emojiData = getEmojiByName(emoji, customEmojis); if (emojiData?.image && emojiData.category !== 'custom') { const codeArray: string[] = emojiData.image.split('-'); const code = codeArray.reduce((acc, c) => { return acc + String.fromCodePoint(parseInt(c, 16)); }, ''); completedDraft = emojiPart.replace(EMOJI_REGEX_WITHOUT_PREFIX, `${code} `); } else { completedDraft = emojiPart.replace(EMOJI_REGEX_WITHOUT_PREFIX, `${prefix}${emoji}: `); } if (value.length > cursorPosition) { completedDraft += value.substring(cursorPosition); } updateValue(completedDraft); if (Platform.OS === 'ios' && (!emojiData?.filename || emojiData.category !== 'custom')) { // This is the second part of the hack were we replace the double : with just one // after the auto correct vanished setTimeout(() => { updateValue(completedDraft.replace(`::${emoji}: `, `:${emoji}: `)); }); } }, [value, updateValue, rootId, cursorPosition, hasFilesAttached]); const renderItem = useCallback(({item}: {item: string}) => { const completeItemSuggestion = () => completeSuggestion(item); const emojiSuggestionItemTestId = `autocomplete.emoji_suggestion_item.${item}`; return ( <TouchableWithFeedback onPress={completeItemSuggestion} underlayColor={changeOpacity(theme.buttonBg, 0.08)} type={'native'} > <View style={style.row}> <View style={style.emoji}> <Emoji emojiName={item} textStyle={style.emojiText} size={EMOJI_SIZE} testID={emojiSuggestionItemTestId} /> </View> <Text style={style.emojiName} testID={`${emojiSuggestionItemTestId}.name`} > {`:${item}:`} </Text> </View> </TouchableWithFeedback> ); }, [completeSuggestion, theme.buttonBg, style]); useEffect(() => { onShowingChange(showingElements); }, [showingElements]); useEffect(() => { const search = debounce(() => searchCustomEmojis(serverUrl, searchTerm), SEARCH_DELAY); if (searchTerm.length >= MIN_SEARCH_LENGTH) { search(); } return () => { search.cancel(); }; }, [searchTerm]); if (!data.length) { return null; } return ( <FlatList keyboardShouldPersistTaps='always' style={[style.listView, listStyle]} data={data} keyExtractor={keyExtractor} removeClippedSubviews={true} renderItem={renderItem} nestedScrollEnabled={nestedScrollEnabled} contentContainerStyle={containerStyle} testID='autocomplete.emoji_suggestion.flat_list' /> ); }; export default EmojiSuggestion; ```
John Mondy Shimkus (, born February 21, 1958) is an American politician who served as a U.S. representative from 1997 to 2021, representing the 20th, 19th and 15th congressional districts of Illinois. Shimkus is a member of the Republican Party. On August 30, 2019, he announced that he would not seek re-election for his seat in 2020 and was succeeded by fellow Republican Mary Miller. Early life, education, and career Shimkus is a lifelong resident of Collinsville, part of the Metro East portion of the St. Louis metropolitan area. He is the son of Kathleen N. (née Mondy) and Gene L. Shimkus. His paternal grandfather was of Lithuanian descent. Shimkus earned his bachelor's degree at the United States Military Academy. After serving his five-year United States Army commitment, he entered the United States Army Reserve, retiring in 2008 as a lieutenant colonel. While in the U.S. Army, Shimkus earned the Expert Infantry Badge, Ranger Tab, and Parachutist Badge. He served overseas with the 54th Infantry Regiment in West Germany. Shimkus earned a teaching certificate from Christ College Irvine (now Concordia University Irvine) and began teaching at Metro East Lutheran High School in Edwardsville. He earned an MBA from Southern Illinois University Edwardsville in 1987. Shimkus first ran for office in 1989, when he was elected a Collinsville Township trustee. A year later, he was elected as Madison County treasurer—the first Republican elected to a countywide post in 10 years. In 1994, Shimkus became the first Republican to be re-elected as county treasurer in 60 years. U.S. House of Representatives Record Shimkus was a key leader in the effort to reform the Toxic Substances Control Act, which was amended in 2016 by the Lautenberg Chemical Safety Act. Shimkus voted in favor of the Tax Cuts and Jobs Act of 2017. Committee assignments Committee on Energy and Commerce Subcommittee on Communications and Technology Subcommittee on Energy and Power Subcommittee on Environment and Economy (Ranking Member) Subcommittee on Health Republican Study Committee Caucus memberships House Baltic Caucus Congressional NextGen 9-1-1 Caucus Political positions Climate change On March 25, 2009, in introductory remarks made to Christopher Monckton, 3rd Viscount Monckton of Brenchley, during a United States House Energy Subcommittee on Energy and Environment hearing, he made the following statement regarding the role of carbon dioxide in global warming: It's plant food ... So if we decrease the use of carbon dioxide, are we not taking away plant food from the atmosphere? ... So all our good intentions could be for naught. In fact, we could be doing just the opposite of what the people who want to save the world are saying. Shimkus has quoted the Bible to allay concerns of global warming induced rise in sea levels, stating that God had promised mankind through Noah that the earth would never again be destroyed by a flood. He acknowledged that climate change is real, but questioned the benefit of spending taxpayer money on "something that you cannot stop versus the changes that have been occurring forever". Food safety Shimkus has been a proponent of legislation to increase the ability of the Food and Drug Administration to institute recalls of tainted foods. He has served as one of the chief Republican negotiators on the FDA Food Safety Modernization Act, which was passed by Congress and signed by the president. Of the bill, he said: "When you're talking about the health and safety of folks, if the FDA has enough evidence to make a declaration of recall, I think that most Americans would support the government having that authority." Keystone Pipeline In May 2013, Shimkus stated he would renew his support for the Keystone Pipeline. The project would be an oil pipeline, bringing Canadian crude oil through the Midwest, including Illinois. As a supporter, he stated that he would rather see Canada as an energy partner than ship in oil from overseas. National security Shimkus spoke positively of President Donald Trump's 2017 executive order to temporarily curtail immigration from specified countries until better screening methods are devised. He stated that "This temporary halt will give Congress and the new Administration time to evaluate and improve the vetting process, and in the meantime gives Secretary Kelly authority to grant exceptions to the restrictions as needed. One of those exceptions must be to green card holders, who have already undergone extensive screening." In October 2019, he criticized Trump for withdrawing U.S. troops from Syria, and resigned as a co-chair for Trump's 2020 campaign in Illinois. Cannabis Shimkus has a "D" rating from marijuana legalization advocacy group NORML for his voting history regarding cannabis-related causes. Political campaigns In 1992, while still serving as Madison County treasurer, he won the Republican nomination to run for the U.S. House seat in what was then the 20th district. He was defeated by 10-year Democratic incumbent Dick Durbin. Four years later, Durbin gave up the seat to make what would be a successful run for the United States Senate. Shimkus won a crowded six-way primary, and faced State Representative Jay C. Hoffman in a close general election, which Shimkus won by just over 1,200 votes. However, he would never face another general election contest nearly that close. He faced only one credible Democratic opponent since his initial reelection, in 2002. That year, Illinois lost a district as a result of the 2000 census, and his district was merged with the 19th district, then held by two-term Democratic representative David Phelps. The new district retained Phelps' district number, but was geographically and demographically more similar to the old 20th district, as Shimkus retained 60% of his former territory. The campaign was very bitter, with both men accusing the other's staffers of stalking their families. Despite a Democratic wave that swept through most of the state, with Democrats flipping the Governorship and State Senate, Shimkus defeated Phelps with 55% of the vote. This was the only time he received below 60% in a reelection bid. Shimkus announced in September 2005, that he would run for reelection in 2008, despite making a pledge when first elected in 1996 not to stay in office for more than 12 years. In 2012, Shimkus' district was renumbered as the 15th district after Illinois lost another district. It lost much of its northern portion to the 13th district, previously numbered as 15th, which was ultimately won by his former projects director, Rodney Davis. The old 19th had been trending Republican over the years, like southern Illinois as a whole. However, the new 15th was, on paper, one of the most Republican districts in the Midwest. Shimkus was reelected four more times from this district with over 70 percent of the vote. When seeking his 11th term in 2016, Shimkus faced Illinois State Senator Kyle McCarter in the Republican primary. McCarter ran to the political right of Shimkus and criticized his accommodation with the Obama administration as well as national Republican party leadership. No other party even put up a candidate, meaning whoever won the primary would be assured of victory in November. Shimkus won the primary with 60.4% of the vote to McCarter's 39.6%. He then won the general election unopposed. FEC records show that the John S. Fund, the PAC for Shimkus, contributed to former Republican House Majority Leader Tom DeLay in 2005. The fund also made contributions to Peter Roskam, a Republican candidate for the House from Illinois's 6th district, from 2005 to 2008 and to David McSweeney, a Republican candidate for the House from Illinois's 8th district, in 2006. In 2006, the funds treasurer, lobbyist Mark Valente, resigned. Shimkus earlier said he was considering removing Valente, but he did not want to act too quickly because it might suggest there was something improper about their relationship. Electoral history The was disbanded after the 2000 census due to reapportionment and Illinois' loss of a U.S. House seat, which is why Shimkus faced David D. Phelps, incumbent of the 19th district, in the 2002 election. The 19th district was disbanded after the 2010 census, so Shimkus ran in the redistricted 15th district. The 15th district includes a large part of southern and south-western Illinois and a small part of the Metro East, where Shimkus resides. Personal life Shimkus has been married to the former Karen Muth since 1987. They have three children: David, Joshua, and Daniel. They are members of Holy Cross Lutheran Church (LCMS) in Collinsville. See also Open Fuel Standard Act of 2011 Lautenberg Chemical Safety Act of 2016 References External links |- |- |- 1958 births 20th-century American politicians 21st-century American politicians American Lutherans American people of Lithuanian descent County officials in Illinois Living people Military personnel from Illinois People from Collinsville, Illinois Recipients of the Order of the Cross of Terra Mariana, 2nd Class Republican Party members of the United States House of Representatives from Illinois Southern Illinois University Edwardsville alumni United States Army officers United States Military Academy alumni
is the 2nd indie single by the Japanese female idol group Momoiro Clover, released in Japan on November 11, 2009. Track listing Limited Editions A, B Limited Edition A Limited Edition B Limited Edition B came with a photobook Regular Edition Chart performance References External links CD single details on the official site 2009 singles Momoiro Clover Z songs Japanese-language songs 2009 songs
Renate Junker (born 26 March 1938) is a German athlete. She competed in the women's long jump at the 1960 Summer Olympics. References 1938 births Living people People from Spremberg Sportspeople from the Province of Brandenburg German female long jumpers Athletes from Brandenburg Olympic athletes for the United Team of Germany Athletes (track and field) at the 1960 Summer Olympics
```elixir defmodule Commanded.Event.ErrorAggregate do @moduledoc false defstruct [:uuid] defmodule Commands do defmodule RaiseError do defstruct [:uuid, :strategy, :delay, :reply_to] end defmodule RaiseException do defstruct [:uuid, :strategy, :delay, :reply_to] end end defmodule Events do defmodule ErrorEvent do @derive Jason.Encoder defstruct [:uuid, :strategy, :delay, :reply_to] end defmodule ExceptionEvent do @derive Jason.Encoder defstruct [:uuid, :strategy, :delay, :reply_to] end defmodule InvalidReturnValueEvent do @derive Jason.Encoder defstruct [:uuid, :reply_to] end end alias Commanded.Event.ErrorAggregate alias Commands.{RaiseError, RaiseException} alias Events.{ErrorEvent, ExceptionEvent} def execute(%ErrorAggregate{}, %RaiseError{} = command) do struct(ErrorEvent, Map.from_struct(command)) end def execute(%ErrorAggregate{}, %RaiseException{} = command) do struct(ExceptionEvent, Map.from_struct(command)) end def apply(%ErrorAggregate{} = aggregate, _event), do: aggregate end ```
```javascript 'use strict'; describe('SearchDirective', function () { var el, scope, template, compiler, form; beforeEach(module('wasabi.directives')); beforeEach(inject(function($rootScope, $compile){ el = angular.element( '<div style="padding-bottom:10px">' + '<form name="myForm">' + '<div class="search">' + '<input search type="text" id="txtAddAppSearch" name="txtAddAppSearch" autocorrect="off" autocapitalize="off" placeholder="Search"' + ' ng-model="data.query"' + ' ng-change="search()"/>' + '<a href="#" class="clear">Clear Search</a>' + '</div></form></div>' ); compiler = $compile; scope = $rootScope.$new(); scope.data = { 'query': '' }; scope.search = function() {}; template = $compile(el)(scope); scope.$digest(); form = scope.myForm; })); it('should exist', function () { expect(template.find('#txtAddAppSearch').length).to.eql(1); }); it('should handle click', function () { template.find('input').trigger('click'); scope.$digest(); expect(template.find('input').val()).to.eql(''); }); it('should handle focusin', function () { template.find('input').trigger('focusin'); scope.$digest(); expect(template.find('input').val()).to.eql(''); }); it('should handle focusout', function () { template.find('input').trigger('focusout'); scope.$digest(); expect(template.find('input').val()).to.eql(''); }); it('should handle clear', function () { template.find('.clear').trigger('click'); scope.$digest(); expect(template.find('input').val()).to.eql(''); }); }); ```
```xml import { IOSConfig, ConfigPlugin, withXcodeProject, XcodeProject } from 'expo/config-plugins'; import type { PluginConfigType } from './pluginConfig'; const { createBuildPodfilePropsConfigPlugin } = IOSConfig.BuildProperties; export const withIosBuildProperties = createBuildPodfilePropsConfigPlugin<PluginConfigType>( [ { propName: 'newArchEnabled', propValueGetter: (config) => config.ios?.newArchEnabled?.toString(), }, { propName: 'ios.useFrameworks', propValueGetter: (config) => config.ios?.useFrameworks, }, { propName: 'EX_DEV_CLIENT_NETWORK_INSPECTOR', propValueGetter: (config) => (config.ios?.networkInspector ?? true).toString(), }, { propName: 'apple.extraPods', propValueGetter: (config) => JSON.stringify(config.ios?.extraPods ?? []), }, { propName: 'apple.ccacheEnabled', propValueGetter: (config) => (config.ios?.ccacheEnabled ?? false).toString(), }, { propName: 'apple.privacyManifestAggregationEnabled', propValueGetter: (config) => (config.ios?.privacyManifestAggregationEnabled ?? true).toString(), }, ], 'withIosBuildProperties' ); export const withIosDeploymentTarget: ConfigPlugin<PluginConfigType> = (config, props) => { const deploymentTarget = props.ios?.deploymentTarget; if (!deploymentTarget) { return config; } // Updates deployment target in app xcodeproj config = withIosDeploymentTargetXcodeProject(config, { deploymentTarget }); // Updates deployement target in Podfile (Pods project) config = withIosDeploymentTargetPodfile(config, props); return config; }; const withIosDeploymentTargetXcodeProject: ConfigPlugin<{ deploymentTarget: string }> = ( config, props ) => { return withXcodeProject(config, (config) => { config.modResults = updateDeploymentTargetXcodeProject( config.modResults, props.deploymentTarget ); return config; }); }; function updateDeploymentTargetXcodeProject( project: XcodeProject, deploymentTarget: string ): XcodeProject { const { Target } = IOSConfig; const targetBuildConfigListIds = Target.getNativeTargets(project) .filter(([_, target]) => Target.isTargetOfType(target, Target.TargetType.APPLICATION)) .map(([_, target]) => target.buildConfigurationList); for (const buildConfigListId of targetBuildConfigListIds) { // eslint-disable-next-line @typescript-eslint/no-unused-vars for (const [_, configurations] of IOSConfig.XcodeUtils.getBuildConfigurationsForListId( project, buildConfigListId )) { const { buildSettings } = configurations; if (buildSettings?.IPHONEOS_DEPLOYMENT_TARGET) { buildSettings.IPHONEOS_DEPLOYMENT_TARGET = deploymentTarget; } } } return project; } const withIosDeploymentTargetPodfile = createBuildPodfilePropsConfigPlugin<PluginConfigType>( [ { propName: 'ios.deploymentTarget', propValueGetter: (config) => config.ios?.deploymentTarget, }, ], 'withIosDeploymentTargetPodfile' ); ```